[aarch64-port-dev ] Remove cmp(reg, imm) altogether?
aph at redhat.com
Fri May 25 08:29:43 UTC 2018
On 05/25/2018 08:25 AM, Joshua Zhu wrote:
> How about below implementation?
> void cmp(Register Rd, char imm)
> imm is changed into type "char", has only one byte.
> When engineers look into this function, they will wonder why imm has size limitation.
> Then comments are added here to emphasize immediate operand has 12 bits limitation.
I don't think there would be any warning, though: the conversion would
be performed silently.
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
More information about the aarch64-port-dev