Commit bc0f8df1 by Wilco Dijkstra

[AArch64] Fix PR93565 testcase for ILP32.

Fix PR93565 testcase for ILP32.

testsuite/
	* gcc.target/aarch64/pr93565.c: Fix test for ilp32.
parent c5e1c1d3
2020-02-17 Wilco Dijkstra <wdijkstr@arm.com>
* gcc.target/aarch64/pr93565.c: Fix test for ilp32.
2020-02-17 Will Schmidt <will_schmidt@vnet.ibm.com> 2020-02-17 Will Schmidt <will_schmidt@vnet.ibm.com>
* gcc.target/powerpc/fold-vec-extract-longlong.p8.c: Correct * gcc.target/powerpc/fold-vec-extract-longlong.p8.c: Correct
......
...@@ -14,13 +14,13 @@ static const char table[64] = { ...@@ -14,13 +14,13 @@ static const char table[64] = {
9, 30, 45, 41, 8, 40, 7, 6, 9, 30, 45, 41, 8, 40, 7, 6,
}; };
static inline int ctz1 (unsigned long b) static inline int ctz1 (unsigned long long b)
{ {
unsigned long lsb = b & -b; unsigned long long lsb = b & -b;
return table[(lsb * magic) >> 58]; return table[(lsb * magic) >> 58];
} }
void f (unsigned long x, int *p) void f (unsigned long long x, int *p)
{ {
if (x != 0) if (x != 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