aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/ppc
diff options
context:
space:
mode:
authorMagnus Lång <[email protected]>2016-11-10 12:20:55 +0100
committerMagnus Lång <[email protected]>2016-11-15 14:58:59 +0100
commit8cf7ad0fd02d5fd4100e23e61e1caa56726a0494 (patch)
tree212d640b3d6ee80a2ee86cb53661b568025a36a7 /lib/hipe/ppc
parent5ae8d51f97600116f47f0160b4eac331acf5b7ca (diff)
downloadotp-8cf7ad0fd02d5fd4100e23e61e1caa56726a0494.tar.gz
otp-8cf7ad0fd02d5fd4100e23e61e1caa56726a0494.tar.bz2
otp-8cf7ad0fd02d5fd4100e23e61e1caa56726a0494.zip
hipe_ppc: better rlwinm pp
Diffstat (limited to 'lib/hipe/ppc')
-rw-r--r--lib/hipe/ppc/hipe_ppc_pp.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/hipe/ppc/hipe_ppc_pp.erl b/lib/hipe/ppc/hipe_ppc_pp.erl
index e69e6b64a2..0ff7a76bce 100644
--- a/lib/hipe/ppc/hipe_ppc_pp.erl
+++ b/lib/hipe/ppc/hipe_ppc_pp.erl
@@ -170,6 +170,12 @@ pp_insn(Dev, I, Pre) ->
io:format(Dev, ", ", []),
pp_temp(Dev, Base2),
io:format(Dev, "\n", []);
+ #unary{unop={UnOp,I1,I2,I3}, dst=Dst, src=Src} ->
+ io:format(Dev, "\t~s ", [UnOp]),
+ pp_temp(Dev, Dst),
+ io:format(Dev, ", ", []),
+ pp_temp(Dev, Src),
+ io:format(Dev, ", ~s, ~s, ~s\n", [to_hex(I1),to_hex(I2),to_hex(I3)]);
#unary{unop=UnOp, dst=Dst, src=Src} ->
io:format(Dev, "\t~w ", [unop_name(UnOp)]),
pp_temp(Dev, Dst),