Fix compiler.cfg.value-numbering and math.matrices.simd unit tests

db4
Slava Pestov 2009-10-02 02:32:35 -05:00
parent 7348241b2f
commit cb71fbf4fe
2 changed files with 5 additions and 7 deletions

View File

@ -142,16 +142,14 @@ IN: compiler.cfg.value-numbering.tests
[
{
T{ ##peek f 1 D -1 }
T{ ##unbox-vector f 1111 1 float-4-rep }
T{ ##test-vector f 1 1111 f float-4-rep vcc-any }
T{ ##test-vector-branch f 1111 f float-4-rep vcc-any }
T{ ##test-vector f 2 1 f float-4-rep vcc-any }
T{ ##test-vector-branch f 1 f float-4-rep vcc-any }
}
] [
{
T{ ##peek f 1 D -1 }
T{ ##unbox-vector f 1111 1 float-4-rep }
T{ ##test-vector f 1 1111 2 float-4-rep vcc-any }
T{ ##compare-imm-branch f 1 5 cc/= }
T{ ##test-vector f 2 1 f float-4-rep vcc-any }
T{ ##compare-imm-branch f 2 5 cc/= }
} value-numbering-step trim-temps
] unit-test

View File

@ -1,5 +1,5 @@
! (c)Joe Groff bsd license
USING: classes.struct math.matrices.simd math.vectors.simd
USING: classes.struct math.matrices.simd math.vectors.simd math
literals math.constants math.functions specialized-arrays tools.test ;
QUALIFIED-WITH: alien.c-types c
FROM: math.matrices => m~ ;