aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/amd64/hipe_amd64_encode.erl
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2017-03-09 12:20:24 +0100
committerGitHub <[email protected]>2017-03-09 12:20:24 +0100
commit0380cf2f9d834eb2c84b5f9c6912396c80806b43 (patch)
treee79efd73bd600ec8d2fa485a618970b3ad649dd5 /lib/hipe/amd64/hipe_amd64_encode.erl
parentfcd9a09dc614d61a3e06953837e3bdc3c311710d (diff)
parent16500d689aab70017d6e6c532aef69c94b1b132a (diff)
downloadotp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.gz
otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.tar.bz2
otp-0380cf2f9d834eb2c84b5f9c6912396c80806b43.zip
Merge PR-1360 from margnus1/hipe-codegen/OTP-14261
HiPE: Various small code cleanups and codegen improvements
Diffstat (limited to 'lib/hipe/amd64/hipe_amd64_encode.erl')
-rw-r--r--lib/hipe/amd64/hipe_amd64_encode.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hipe/amd64/hipe_amd64_encode.erl b/lib/hipe/amd64/hipe_amd64_encode.erl
index f8cc0c7d83..bda2824ffc 100644
--- a/lib/hipe/amd64/hipe_amd64_encode.erl
+++ b/lib/hipe/amd64/hipe_amd64_encode.erl
@@ -1316,6 +1316,7 @@ dotest1(OS) ->
RM64 = {rm64,rm_reg(?EDX)},
RM32 = {rm32,rm_reg(?EDX)},
RM16 = {rm16,rm_reg(?EDX)},
+ RM16REX = {rm16,rm_reg(?R13)},
RM8 = {rm8,rm_reg(?EDX)},
RM8REX = {rm8,rm_reg(?SIL)},
Rel32 = {rel32,Word32},
@@ -1479,6 +1480,7 @@ dotest1(OS) ->
t(OS,'test',{RM8,Imm8}),
t(OS,'test',{RM8REX,Imm8}),
t(OS,'test',{RM16,Imm16}),
+ t(OS,'test',{RM16REX,Imm16}),
t(OS,'test',{RM32,Imm32}),
t(OS,'test',{RM64,Imm32}),
t(OS,'test',{RM32,Reg32}),