compiler: tighten (simd-select) output class
Ints and smaller (or shorts and smaller on 32-bit) can be assumed to be fixnums. Fixes #393db4
parent
dd8dda4f48
commit
4261d8bb8d
|
@ -84,7 +84,11 @@ vector>vector-intrinsics [ { byte-array } "default-output-classes" set-word-prop
|
||||||
literal>> scalar-rep-of {
|
literal>> scalar-rep-of {
|
||||||
{ float-rep [ float ] }
|
{ float-rep [ float ] }
|
||||||
{ double-rep [ float ] }
|
{ double-rep [ float ] }
|
||||||
[ drop integer ]
|
{ longlong-scalar-rep [ integer ] }
|
||||||
|
{ ulonglong-scalar-rep [ integer ] }
|
||||||
|
{ int-scalar-rep [ cell 8 = [ fixnum ] [ integer ] if ] }
|
||||||
|
{ uint-scalar-rep [ cell 8 = [ fixnum ] [ integer ] if ] }
|
||||||
|
[ drop fixnum ]
|
||||||
} case
|
} case
|
||||||
] [ drop real ] if
|
] [ drop real ] if
|
||||||
<class-info> ;
|
<class-info> ;
|
||||||
|
|
Loading…
Reference in New Issue