[RFA] ARM NEON: reject instructions with bad alignment

Jie Zhang jie@codesourcery.com
Fri Feb 26 10:18:00 GMT 2010


Large (128/256-bit) alignment qualifiers are only allowed on NEON 
vldN/vstN instructions when the data being loaded is a multiple of those 
sizes. GAS incorrectly accepts any alignment qualifier. For example the 
following should be rejected:

vld1.8 {d0}, [r0, :128]
vld1.8 {q0}, [r0, :256]

With this patch, GAS will reject these two invalid instructions. Tested 
GAS with arm-none-eabi target. Is it OK?


Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fsf-gas-arm-neon-ldst-reject-bad-alignment.diff
Type: text/x-patch
Size: 2120 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20100226/92068e36/attachment.bin>


More information about the Binutils mailing list