From 7f546daead278cf3b293dd24b57c9321bd45996b Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Thu, 19 Nov 2009 12:15:24 -0800 Subject: [PATCH] fill in longlong cases for %scalar>integer (won't work on 32bit yet!) --- basis/cpu/x86/x86.factor | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/basis/cpu/x86/x86.factor b/basis/cpu/x86/x86.factor index a55489dcee..b752935f9c 100644 --- a/basis/cpu/x86/x86.factor +++ b/basis/cpu/x86/x86.factor @@ -1323,8 +1323,15 @@ M: x86 %shr-vector-imm-reps %shr-vector-reps ; M: x86 %integer>scalar drop MOVD ; +! XXX the longlong versions won't work on x86.32 M:: x86 %scalar>integer ( dst src rep -- ) rep { + { longlong-scalar-rep [ + dst src MOVD + ] } + { ulonglong-scalar-rep [ + dst src MOVD + ] } { int-scalar-rep [ dst 32-bit-version-of src MOVD dst dst 32-bit-version-of