Commit 4fdd13fe authored by yb9976's avatar yb9976
Browse files

Add 8-bit variant for ia32_Sub.

parent 4f27d560
......@@ -533,7 +533,16 @@ XorMem => {
Sub => {
irn_flags => [ "modify_flags", "rematerializable" ],
state => "exc_pinned",
in_reqs => [ "gp", "gp", "mem", "gp", "gp" ],
constructors => {
"" => {
in_reqs => [ "gp", "gp", "mem", "gp", "gp" ],
out_reqs => [ "in_r3", "flags", "mem" ],
},
"8bit" => {
in_reqs => [ "gp", "gp", "mem", "eax ebx ecx edx", "eax ebx ecx edx" ],
out_reqs => [ "eax ebx ecx edx in_r3", "flags", "mem" ],
},
},
out_reqs => [ "in_r3", "flags", "mem" ],
ins => [ "base", "index", "mem", "minuend", "subtrahend" ],
outs => [ "res", "flags", "M" ],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment