mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
don't emit fmov xi, xi
This commit is contained in:
parent
be9cfa7e4e
commit
54732b5750
1 changed files with 3 additions and 1 deletions
|
@ -1320,7 +1320,9 @@ impl Assembler<AArch64GeneralReg, AArch64FloatReg> for AArch64Assembler {
|
|||
|
||||
#[inline(always)]
|
||||
fn mov_freg64_freg64(buf: &mut Vec<'_, u8>, dst: AArch64FloatReg, src: AArch64FloatReg) {
|
||||
fmov_freg_freg(buf, FloatWidth::F64, dst, src);
|
||||
if dst != src {
|
||||
fmov_freg_freg(buf, FloatWidth::F64, dst, src);
|
||||
}
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue