diff options
author | Magnus Lång <[email protected]> | 2016-11-10 12:20:55 +0100 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-11-15 14:58:59 +0100 |
commit | 8cf7ad0fd02d5fd4100e23e61e1caa56726a0494 (patch) | |
tree | 212d640b3d6ee80a2ee86cb53661b568025a36a7 | |
parent | 5ae8d51f97600116f47f0160b4eac331acf5b7ca (diff) | |
download | otp-8cf7ad0fd02d5fd4100e23e61e1caa56726a0494.tar.gz otp-8cf7ad0fd02d5fd4100e23e61e1caa56726a0494.tar.bz2 otp-8cf7ad0fd02d5fd4100e23e61e1caa56726a0494.zip |
hipe_ppc: better rlwinm pp
-rw-r--r-- | lib/hipe/ppc/hipe_ppc_pp.erl | 6 |
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), |