More opcodes.
authorDavid Given <dg@cowlark.com>
Sat, 29 Oct 2016 10:55:34 +0000 (12:55 +0200)
committerDavid Given <dg@cowlark.com>
Sat, 29 Oct 2016 10:55:34 +0000 (12:55 +0200)
mach/powerpc/mcg/table

index 366b16d..3be30c3 100644 (file)
@@ -387,6 +387,11 @@ PATTERNS
         emit "srawi %out.1, %out.0, 31"
         cost 8;
 
+    out:(long)reg = FROMUI.L(in:(int)reg)
+        emit "mr %out.0, %in"
+        emit "li %out.1, 0"
+        cost 8;
+
     out:(ret)reg = FROMF.I(in:(dret)reg)
         with corrupted(volatile)
         emit "bl .fromf2i"