Use roundss/roundsd when available for Ceil/Floor/Trunc/Nearest (#931)

Don't tie the preexisting SIMD ISA predicates to the shared
enable_simd setting but make new ones instead.

Fixes: https://github.com/CraneStation/cranelift/issues/908
This commit is contained in:
Ujjwal Sharma
2019-08-26 17:07:27 +05:30
committed by Benjamin Bouvier
parent b8fb52446c
commit ec8f72bf20
4 changed files with 24 additions and 14 deletions

View File

@@ -1,6 +1,5 @@
; Binary emission of 32-bit floating point code.
test binemit
set enable_simd
target i686 haswell
; The binary encodings can be verified with the command:

View File

@@ -1,7 +1,6 @@
; Binary emission of 64-bit floating point code.
test binemit
set opt_level=best
set enable_simd
target x86_64 haswell
; The binary encodings can be verified with the command: