[aarch64-port-dev ] Remove cmp(reg, imm) altogether?

Andrew Haley aph at redhat.com
Fri May 25 12:14:32 UTC 2018


On 05/25/2018 12:06 PM, Joshua Zhu wrote:
> Then in addition to previous implementation, we mark the following function as deprecated:
> 	void cmp(Register Rd, unsigned imm) __attribute__ ((deprecated));
> This will trigger a compile-time warning when this function is used.
> Users are required to do explicit type conversion for
> 	void cmp(Register Rd, char imm)

Oh, that's a nice idea.  I'll try it, thanks.

-- 
Andrew Haley
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 mailing list