Commit de0b229e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

ia32: Factor out a template for emms and femms.

parent b644c154
......@@ -406,6 +406,14 @@ my $fpcwop = {
fixed => "x86_insn_size_t const size = X86_SIZE_16;",
};
my $emmsop = {
op_flags => [ "keep" ],
out_reqs => [ "none" ],
attrs_equal => "attrs_equal_false",
fixed => "x86_insn_size_t const size = X86_SIZE_32;"
."\t$x87sim",
};
%nodes = (
Immediate => {
......@@ -1945,22 +1953,14 @@ ffreep => {
},
emms => {
op_flags => [ "keep" ],
out_reqs => [ "none" ],
attrs_equal => "attrs_equal_false",
template => $emmsop,
emit => "emms",
fixed => "x86_insn_size_t const size = X86_SIZE_32;"
."\t".$x87sim,
latency => 3,
},
femms => {
op_flags => [ "keep" ],
out_reqs => [ "none" ],
attrs_equal => "attrs_equal_false",
template => $emmsop,
emit => "femms",
fixed => "x86_insn_size_t const size = X86_SIZE_32;"
."\t".$x87sim,
latency => 3,
},
......
Supports Markdown
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