Skip to content

Commit

Permalink
detab cod1.d (#20906)
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright authored Feb 21, 2025
1 parent 1d8658d commit 5529c3f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions compiler/src/dmd/backend/arm/cod1.d
Original file line number Diff line number Diff line change
Expand Up @@ -2215,7 +2215,7 @@ void loaddata(ref CodeBuilder cdb, elem* e, ref regm_t outretregs)
forregs = outretregs & (cgstate.allregs | INSTR.FLOATREGS); // XMMREGS ?
if (e.Eoper == OPconst)
{
if (0 && tyvector(tym) && forregs & XMMREGS) // TODO
if (0 && tyvector(tym) && forregs & XMMREGS) // TODO
{
assert(!flags);
const xreg = allocreg(cdb, forregs, tym); // allocate registers
Expand All @@ -2224,15 +2224,15 @@ void loaddata(ref CodeBuilder cdb, elem* e, ref regm_t outretregs)
return;
}

if (tyfloating(tym))
{
if (tyfloating(tym))
{
const vreg = allocreg(cdb, forregs, tym); // allocate floating point register
float value = e.Vfloat;
if (sz == 8)
value = e.Vdouble;
loadFloatRegConst(cdb,vreg,value,sz);
return;
}
float value = e.Vfloat;
if (sz == 8)
value = e.Vdouble;
loadFloatRegConst(cdb,vreg,value,sz);
return;
}

targ_size_t value = e.Vint;
if (sz == 8)
Expand Down

0 comments on commit 5529c3f

Please sign in to comment.