X64: port fvpromote to ISLE (#4242)

This commit is contained in:
Trevor Elliott
2022-06-07 17:18:23 -07:00
committed by GitHub
parent 088e568f22
commit bc3c4fa206
3 changed files with 12 additions and 7 deletions

View File

@@ -2322,6 +2322,10 @@
(rule (lower (has_type $F64 (fpromote x)))
(x64_cvtss2sd x))
;; Rules for `fvpromote` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(rule (lower (has_type $F64X2 (fvpromote_low x)))
(x64_cvtps2pd (put_in_xmm x)))
;; Rules for `fmin` ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(rule (lower (has_type $F32 (fmin x y)))