[PATCH, AArch64] Fix invalid assembler in scalar_intrinsics.c test
Marcus Shawcroft
marcus.shawcroft@gmail.com
Wed May 22 15:25:00 GMT 2013
On 22 May 2013 16:18, Ian Bolton <ian.bolton@arm.com> wrote:
> The test file scalar_intrinsics.c (in gcc.target/aarch64)
> is currently compile-only.
>
> If you attempt to make it run, as opposed to just generate
> assembler, you can't because it won't assemble.
>
> There are two issues causing trouble here:
>
> 1) Use of invalid instruction "mov d0, d1".
> It should be "mov d0, v1.d[0]".
>
> 2) The vdupd_lane_s64 and vdupd_lane_u64 calls are being given
> a lane that is out of range, which causes invalid assembler
> output.
>
> This patch fixes both, so that we can build on this to make
> executable test cases for scalar intrinsics.
>
> OK for trunk?
OK
/Marcus
More information about the Gcc-patches
mailing list