Commit 855b85b4 by Bill Schmidt Committed by William Schmidt

re PR testsuite/92093 (New test case gcc.target/powerpc/pr91275.c from r276410 fails on BE)

2019-10-15  Bill Schmidt  <wschmidt@linux.ibm.com>

	PR target/92093
	* gcc.target/powerpc/pr91275.c: Fix type and endian issues.

From-SVN: r276999
parent c1d78170
2019-10-15 Bill Schmidt <wschmidt@linux.ibm.com>
PR target/92093
* gcc.target/powerpc/pr91275.c: Fix type and endian issues.
2019-10-15 Richard Biener <rguenther@suse.de>
PR testsuite/92048
......
......@@ -10,12 +10,17 @@ int main() {
const unsigned long long r0l = 0x8e7dfceac070e3a0;
vector unsigned long long r0 = (vector unsigned long long) {r0l, 0}, v;
const vector unsigned long long pd
= (vector unsigned long) {0xc2LLU << 56, 0};
= (vector unsigned long long) {0xc2LLU << 56, 0};
v = __builtin_crypto_vpmsumd ((vector unsigned long long) {r0[0], 0}, pd);
#if __LITTLE_ENDIAN__
if (v[0] != 0x4000000000000000 || v[1] != 0x65bd7ab605a4a8ff)
__builtin_abort ();
#else
if (v[1] != 0x4000000000000000 || v[0] != 0x65bd7ab605a4a8ff)
__builtin_abort ();
#endif
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment