Skip to content

Commit 35da536

Browse files
committed
Allow FPRCVT Instructions to Run in Streaming Mode
This patch updates the SCVTF and UCVTF instructions to be used in streaming mode.
1 parent 1f65ab1 commit 35da536

File tree

3 files changed

+241
-1
lines changed

3 files changed

+241
-1
lines changed

llvm/lib/Target/AArch64/AArch64InstrInfo.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5329,7 +5329,7 @@ def : Pat<(i64 (any_llround f64:$Rn)),
53295329
defm SCVTF : IntegerToFP<0b00, 0b010, "scvtf", any_sint_to_fp>;
53305330
defm UCVTF : IntegerToFP<0b00, 0b011, "ucvtf", any_uint_to_fp>;
53315331

5332-
let Predicates = [HasNEON, HasFPRCVT] in {
5332+
let Predicates = [HasNEONandIsStreamingSafe, HasFPRCVT] in {
53335333
defm SCVTF : IntegerToFPSIMDScalar<0b11, 0b100, "scvtf", any_sint_to_fp>;
53345334
defm UCVTF : IntegerToFPSIMDScalar<0b11, 0b101, "ucvtf", any_uint_to_fp>;
53355335

0 commit comments

Comments
 (0)