aarch64 : Mark rotate immediates with '#' as per DDI0487iFc.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 25 Aug 2020 20:20:12 +0000 (21:20 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Thu, 25 Feb 2021 19:24:10 +0000 (19:24 +0000)
commit5051c12173713c81921ed133ef5a218e46ab11d1
tree3c8be405ed95305a54d75728673d96b78dc85d91
parent44ab1cc1df6ec4ff50210401acdcb26e80343541
aarch64 : Mark rotate immediates with '#' as per DDI0487iFc.

The armv8_arm manual [C6.2.226, ROR (immediate)] uses a # in front
of the immediate rotation quantity.

Although, it seems, GAS is able to infer the # (or is leninent about
its absence) assemblers based on the LLVM back end expect it.

gcc/ChangeLog:

* config/aarch64/aarch64.md (<optab>_rol<mode>3): Add a '#'
mark in front of the immediate quantity.
(<optab>_rolsi3_uxtw): Likewise.
gcc/config/aarch64/aarch64.md