ARM: Add macro "strh___%r0,(%fp,+#$i8)".

* lib/arm-mes/arm.M1 (strh___%r0,(%fp,+#$i8)): New macro.
This commit is contained in:
Danny Milosavljevic 2019-05-30 12:19:59 +02:00 committed by Jan Nieuwenhuizen
parent 0e2d6b4b84
commit f9a6e1aed0
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 7 additions and 1 deletions

View File

@ -226,7 +226,13 @@ DEFINE strh___%r1,(%r1) b010c1e1 # strh r1, [r1]
DEFINE strh___%r2,(%r2) b020c2e1 # strh r2, [r2]
DEFINE strh___%r3,(%r3) b030c3e1 # strh r3, [r3]
DEFINE strh___%r4,(%r4) b040c4e1 # strh r4, [r4]
# Can't encode: DEFINE strh___%r0,(%fp,+#$i8)
# There's a single instruction that does it--but I don't know how to encode it.
# mov %r9, immediate
# adds %r9, %r9, %fp
# strh %r0, [%r9]
DEFINE strh___%r0,(%fp,+#$i8) 90a0e30b9099e0b000c9e1
DEFINE movle__%r0,$i8 00a0d3 # movle r0, #xx
DEFINE movlt__%r0,$i8 00a0b3 # movlt r0, #xx
DEFINE movge__%r0,$i8 00a0a3 # movge r0, #xx