-
-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Description
Mithril sets group_par_is_source to true for IMULH_R & ISMULH_R and does not set can_reuses to true
mithril/src/randomx/superscalar.rs
Lines 303 to 323 in 104ee0f
| ScOpcode::IMULH_R => ScInstr { | |
| info, | |
| dst: -1, | |
| src: -1, | |
| mod_v: 0, | |
| imm32: 0, | |
| op_group: ScOpcode::IMULH_R, | |
| group_par_is_source: true, | |
| can_reuse: false, | |
| op_group_par: gen.get_u32() as i32, | |
| }, | |
| ScOpcode::ISMULH_R => ScInstr { | |
| info, | |
| dst: -1, | |
| src: -1, | |
| mod_v: 0, | |
| imm32: 0, | |
| op_group: ScOpcode::ISMULH_R, | |
| group_par_is_source: true, | |
| can_reuse: false, | |
| op_group_par: gen.get_u32() as i32, |
This is different to the reference implementation:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels