[codegen] reintroduce support for carry and borrow instructions in RI… (#1005)
Reintroduce support for iadd carry variants and isub borrow variants for RISC ISAs which had been removed in https://github.com/CraneStation/cranelift/pull/961 and https://github.com/CraneStation/cranelift/pull/962 because of the lack of a proper flags register in RISC architectures.
This commit is contained in:
committed by
Benjamin Bouvier
parent
cadd0ac655
commit
3418fb6e18
@@ -1,6 +1,3 @@
|
||||
; TODO(ryzokuken): figure out a better legalization strategy for platforms that
|
||||
; platforms that don't have flags.
|
||||
|
||||
; Test the legalization of i32 instructions that don't have RISC-V versions.
|
||||
test legalizer
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
; TODO(ryzokuken): figure out a better legalization strategy for platforms that
|
||||
; platforms that don't have flags.
|
||||
|
||||
; Test the legalization of i64 arithmetic instructions.
|
||||
test legalizer
|
||||
target riscv32 supports_m=1
|
||||
Reference in New Issue
Block a user