Skip to content

Commit 8d90d93

Browse files
authored
arguments to fmov swapped (dlang#21358)
1 parent 79f8759 commit 8d90d93

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • compiler/src/dmd/backend/arm

compiler/src/dmd/backend/arm/cod1.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1302,7 +1302,7 @@ void fixresult(ref CodeBuilder cdb, elem* e, regm_t retregs, ref regm_t outretre
13021302
reg_t Vn = findreg(retregs);
13031303
reg_t Vd = allocreg(cdb, outretregs, tym); // allocate return regs
13041304
uint ftype = INSTR.szToFtype(sz);
1305-
cdb.gen1(INSTR.fmov(ftype,Vd,Vn)); // FMOV Vd,Vn
1305+
cdb.gen1(INSTR.fmov(ftype,Vn,Vd)); // FMOV Vd,Vn
13061306
}
13071307
else if (sz > REGSIZE)
13081308
{

0 commit comments

Comments
 (0)