diff options
author | Magnus Lång <[email protected]> | 2016-11-09 18:49:06 +0100 |
---|---|---|
committer | Magnus Lång <[email protected]> | 2016-11-15 14:58:59 +0100 |
commit | 3579a706ea0c0081d7dd01291990cd8d3669f195 (patch) | |
tree | ea2df890f7b1a63331cce06a6f8350af4a608526 /lib/hipe/x86/hipe_x86_pp.erl | |
parent | cc45e36d1fb0b288ca534fa72fde772b62225e93 (diff) | |
download | otp-3579a706ea0c0081d7dd01291990cd8d3669f195.tar.gz otp-3579a706ea0c0081d7dd01291990cd8d3669f195.tar.bz2 otp-3579a706ea0c0081d7dd01291990cd8d3669f195.zip |
hipe_{x86,amd64}: Finish test instr implementation
Diffstat (limited to 'lib/hipe/x86/hipe_x86_pp.erl')
-rw-r--r-- | lib/hipe/x86/hipe_x86_pp.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/hipe/x86/hipe_x86_pp.erl b/lib/hipe/x86/hipe_x86_pp.erl index ff26a31877..942201a051 100644 --- a/lib/hipe/x86/hipe_x86_pp.erl +++ b/lib/hipe/x86/hipe_x86_pp.erl @@ -188,6 +188,12 @@ pp_insn(Dev, I, Pre) -> io:format(Dev, ", ", []), pp_dst(Dev, Dst), io:format(Dev, "\n", []); + #test{src=Src, dst=Dst} -> + io:format(Dev, "\ttest ", []), + pp_src(Dev, Src), + io:format(Dev, ", ", []), + pp_dst(Dev, Dst), + io:format(Dev, "\n", []); #fp_binop{src=Src, dst=Dst, op=Op} -> io:format(Dev, "\t~s ", [Op]), pp_dst(Dev, Dst), |