becopyheur4: Clean up co_mst_irn_init().
[libfirm] / ir / be / ia32 / ia32_spec.pl
index b95a402..037a7a3 100644 (file)
@@ -994,19 +994,16 @@ Load => {
 Store => {
        op_flags  => [ "uses_memory", "fragile" ],
        state     => "exc_pinned",
-       reg_req   => { in => [ "gp", "gp", "none", "gp" ],
-                      out => [ "none", "none", "none" ] },
-       ins       => [ "base", "index", "mem", "val" ],
-       outs      => [ "M", "X_regular", "X_except" ],
-       emit      => 'mov%M %#S3, %AM',
-       latency   => 2,
-},
-
-Store8Bit => {
-       op_flags  => [ "uses_memory", "fragile" ],
-       state     => "exc_pinned",
-       reg_req   => { in => [ "gp", "gp", "none", "eax ebx ecx edx" ],
-                      out => ["none", "none", "none" ] },
+       constructors => {
+               ""     => {
+                       reg_req => { in => [ "gp", "gp", "none", "gp" ],
+                                   out => [ "none", "none", "none" ] }
+               },
+               "8bit" => {
+                       reg_req => { in => [ "gp", "gp", "none", "eax ebx ecx edx" ],
+                                   out => [ "none", "none", "none" ] }
+               }
+       },
        ins       => [ "base", "index", "mem", "val" ],
        outs      => [ "M", "X_regular", "X_except" ],
        emit      => 'mov%M %#S3, %AM',
@@ -1667,7 +1664,7 @@ CopyB => {
        outs      => [ "dest", "source", "count", "M", "X_regular", "X_except" ],
        attr_type => "ia32_copyb_attr_t",
        attr      => "unsigned size",
-       latency   => 3,
+       latency   => 250,
 # we don't care about this flag, so no need to mark this node
 #      modified_flags => [ "DF" ]
 },