ARM: Support comparing 32 bit values.

* lib/arm-mes/arm.M1 (cmp____$i32,%r0): New macro.
(cmp____$i32,%r1): New macro.
(cmp____$i32,%r2): New macro.
This commit is contained in:
Danny Milosavljevic 2020-06-18 23:34:49 +02:00
parent d9bda45853
commit acf86208ed
No known key found for this signature in database
GPG key ID: E71A35542C30BAA5

View file

@ -46,6 +46,16 @@ DEFINE cmp____$i8,%r0 0050e3
DEFINE cmp____$i8,%r1 0051e3 DEFINE cmp____$i8,%r1 0051e3
DEFINE cmn____$i8,%r0 0070e3 DEFINE cmn____$i8,%r0 0070e3
DEFINE cmn____$i8,%r1 0071e3 DEFINE cmn____$i8,%r1 0071e3
# e59f9004 ldr r9, [pc, #4]
# e1500009 cmp r0, r9
# ea000000 b 10064 <Q>
# dd 0
# Q:
DEFINE cmp____$i32,%r0 04909fe5090050e1000000ea
DEFINE cmp____$i32,%r1 04909fe5090051e1000000ea
DEFINE cmp____$i32,%r2 04909fe5090052e1000000ea
DEFINE swi____$0 000000ef DEFINE swi____$0 000000ef
DEFINE ja 8a DEFINE ja 8a
DEFINE jae 3a DEFINE jae 3a