Skip to content

Commit

Permalink
Merged master:fba8523fb55 into amd-gfx:e8a39ad292e
Browse files Browse the repository at this point in the history
Local branch amd-gfx e8a39ad Merged master:17a15c32aff into amd-gfx:29527e09863
Remote branch master fba8523 [gcov][test] Reorganize some compiler-rt/test/profile tests
  • Loading branch information
Sw authored and Sw committed Jul 3, 2020
2 parents e8a39ad + fba8523 commit a83795b
Show file tree
Hide file tree
Showing 30 changed files with 347 additions and 562 deletions.
45 changes: 27 additions & 18 deletions clang/lib/Headers/altivec.h
Original file line number Diff line number Diff line change
Expand Up @@ -16918,35 +16918,39 @@ vec_insertl(unsigned int __a, vector unsigned int __b, unsigned int __c) {
#endif
}

static __inline__ vector unsigned long long __ATTRS_o_ai vec_insertl(
unsigned long long __a, vector unsigned long long __b, unsigned int __c) {
static __inline__ vector unsigned long long __ATTRS_o_ai
vec_insertl(unsigned long long __a, vector unsigned long long __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinsdrx(__b, __c, __a);
#else
return __builtin_altivec_vinsdlx(__b, __c, __a);
#endif
}

static __inline__ vector unsigned char __ATTRS_o_ai vec_insertl(
vector unsigned char __a, vector unsigned char __b, unsigned int __c) {
static __inline__ vector unsigned char __ATTRS_o_ai
vec_insertl(vector unsigned char __a, vector unsigned char __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinsbvrx(__b, __c, __a);
#else
return __builtin_altivec_vinsbvlx(__b, __c, __a);
#endif
}

static __inline__ vector unsigned short __ATTRS_o_ai vec_insertl(
vector unsigned short __a, vector unsigned short __b, unsigned int __c) {
static __inline__ vector unsigned short __ATTRS_o_ai
vec_insertl(vector unsigned short __a, vector unsigned short __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinshvrx(__b, __c, __a);
#else
return __builtin_altivec_vinshvlx(__b, __c, __a);
#endif
}

static __inline__ vector unsigned int __ATTRS_o_ai vec_insertl(
vector unsigned int __a, vector unsigned int __b, unsigned int __c) {
static __inline__ vector unsigned int __ATTRS_o_ai
vec_insertl(vector unsigned int __a, vector unsigned int __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinswvrx(__b, __c, __a);
#else
Expand Down Expand Up @@ -16983,35 +16987,39 @@ vec_inserth(unsigned int __a, vector unsigned int __b, unsigned int __c) {
#endif
}

static __inline__ vector unsigned long long __ATTRS_o_ai vec_inserth(
unsigned long long __a, vector unsigned long long __b, unsigned int __c) {
static __inline__ vector unsigned long long __ATTRS_o_ai
vec_inserth(unsigned long long __a, vector unsigned long long __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinsdlx(__b, __c, __a);
#else
return __builtin_altivec_vinsdrx(__b, __c, __a);
#endif
}

static __inline__ vector unsigned char __ATTRS_o_ai vec_inserth(
vector unsigned char __a, vector unsigned char __b, unsigned int __c) {
static __inline__ vector unsigned char __ATTRS_o_ai
vec_inserth(vector unsigned char __a, vector unsigned char __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinsbvlx(__b, __c, __a);
#else
return __builtin_altivec_vinsbvrx(__b, __c, __a);
#endif
}

static __inline__ vector unsigned short __ATTRS_o_ai vec_inserth(
vector unsigned short __a, vector unsigned short __b, unsigned int __c) {
static __inline__ vector unsigned short __ATTRS_o_ai
vec_inserth(vector unsigned short __a, vector unsigned short __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinshvlx(__b, __c, __a);
#else
return __builtin_altivec_vinshvrx(__b, __c, __a);
#endif
}

static __inline__ vector unsigned int __ATTRS_o_ai vec_inserth(
vector unsigned int __a, vector unsigned int __b, unsigned int __c) {
static __inline__ vector unsigned int __ATTRS_o_ai
vec_inserth(vector unsigned int __a, vector unsigned int __b,
unsigned int __c) {
#ifdef __LITTLE_ENDIAN__
return __builtin_altivec_vinswvlx(__b, __c, __a);
#else
Expand All @@ -17028,8 +17036,9 @@ static __inline__ vector unsigned int __ATTRS_o_ai vec_inserth(

/* vec_blendv */

static __inline__ vector signed char __ATTRS_o_ai vec_blendv(
vector signed char __a, vector signed char __b, vector unsigned char __c) {
static __inline__ vector signed char __ATTRS_o_ai
vec_blendv(vector signed char __a, vector signed char __b,
vector unsigned char __c) {
return __builtin_vsx_xxblendvb(__a, __b, __c);
}

Expand Down

This file was deleted.

This file was deleted.

15 changes: 0 additions & 15 deletions compiler-rt/test/profile/Inputs/instrprof-gcov-execlp.c

This file was deleted.

23 changes: 0 additions & 23 deletions compiler-rt/test/profile/Inputs/instrprof-gcov-execlp.c.gcov

This file was deleted.

17 changes: 0 additions & 17 deletions compiler-rt/test/profile/Inputs/instrprof-gcov-execvp.c

This file was deleted.

25 changes: 0 additions & 25 deletions compiler-rt/test/profile/Inputs/instrprof-gcov-execvp.c.gcov

This file was deleted.

15 changes: 0 additions & 15 deletions compiler-rt/test/profile/Inputs/instrprof-gcov-fork.c

This file was deleted.

23 changes: 0 additions & 23 deletions compiler-rt/test/profile/Inputs/instrprof-gcov-fork.c.gcov

This file was deleted.

14 changes: 0 additions & 14 deletions compiler-rt/test/profile/Inputs/instrprof-shared-lib.c.gcov

This file was deleted.

This file was deleted.

36 changes: 0 additions & 36 deletions compiler-rt/test/profile/Inputs/instrprof-shared-main-gcov-flush.c

This file was deleted.

This file was deleted.

Loading

0 comments on commit a83795b

Please sign in to comment.