]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/cpu/x86/sse/sse.factor
use radix literals
[factor.git] / basis / cpu / x86 / sse / sse.factor
index 0f2ab0573f42f14ac9ec703e3149dd9dfe3d0a86..facc8fe276d269525a40a1b8f4f224323be68bd1 100644 (file)
@@ -478,9 +478,9 @@ M: x86 %compare-vector-ccs
 
 : (%move-vector-mask) ( dst src rep -- mask )
     {
-        { double-2-rep [ MOVMSKPS HEX: f ] }
-        { float-4-rep  [ MOVMSKPS HEX: f ] }
-        [ drop PMOVMSKB HEX: ffff ]
+        { double-2-rep [ MOVMSKPS 0xf ] }
+        { float-4-rep  [ MOVMSKPS 0xf ] }
+        [ drop PMOVMSKB 0xffff ]
     } case ;
 
 M: x86 %move-vector-mask ( dst src rep -- )
@@ -708,8 +708,8 @@ M: x86 %avg-vector-reps
 M: x86 %dot-vector
     [ two-operand ] keep
     {
-        { float-4-rep [ HEX: ff DPPS ] }
-        { double-2-rep [ HEX: ff DPPD ] }
+        { float-4-rep [ 0xff DPPS ] }
+        { double-2-rep [ 0xff DPPD ] }
     } case ;
 
 M: x86 %dot-vector-reps