Fix issue 5528 (#5605)
* fix parameter error. * fix float convert to i8 and i16 should extract sign bit. * add missing regression test file. * using tmp register. * float convert i8 will consume more instructions. * fix worse inst emit size. * fix worst_case_size.
This commit is contained in:
@@ -752,7 +752,7 @@ impl MachInst for Inst {
|
||||
|
||||
fn worst_case_size() -> CodeOffset {
|
||||
// calculate by test function riscv64_worst_case_instruction_size()
|
||||
100
|
||||
116
|
||||
}
|
||||
|
||||
fn ref_type_regclass(_settings: &settings::Flags) -> RegClass {
|
||||
|
||||
Reference in New Issue
Block a user