mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 05:00:16 +03:00
detab cod1.d (#20906)
This commit is contained in:
parent
1d8658d722
commit
5529c3f91b
1 changed files with 9 additions and 9 deletions
|
@ -2215,7 +2215,7 @@ void loaddata(ref CodeBuilder cdb, elem* e, ref regm_t outretregs)
|
||||||
forregs = outretregs & (cgstate.allregs | INSTR.FLOATREGS); // XMMREGS ?
|
forregs = outretregs & (cgstate.allregs | INSTR.FLOATREGS); // XMMREGS ?
|
||||||
if (e.Eoper == OPconst)
|
if (e.Eoper == OPconst)
|
||||||
{
|
{
|
||||||
if (0 && tyvector(tym) && forregs & XMMREGS) // TODO
|
if (0 && tyvector(tym) && forregs & XMMREGS) // TODO
|
||||||
{
|
{
|
||||||
assert(!flags);
|
assert(!flags);
|
||||||
const xreg = allocreg(cdb, forregs, tym); // allocate registers
|
const xreg = allocreg(cdb, forregs, tym); // allocate registers
|
||||||
|
@ -2224,15 +2224,15 @@ void loaddata(ref CodeBuilder cdb, elem* e, ref regm_t outretregs)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tyfloating(tym))
|
if (tyfloating(tym))
|
||||||
{
|
{
|
||||||
const vreg = allocreg(cdb, forregs, tym); // allocate floating point register
|
const vreg = allocreg(cdb, forregs, tym); // allocate floating point register
|
||||||
float value = e.Vfloat;
|
float value = e.Vfloat;
|
||||||
if (sz == 8)
|
if (sz == 8)
|
||||||
value = e.Vdouble;
|
value = e.Vdouble;
|
||||||
loadFloatRegConst(cdb,vreg,value,sz);
|
loadFloatRegConst(cdb,vreg,value,sz);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
targ_size_t value = e.Vint;
|
targ_size_t value = e.Vint;
|
||||||
if (sz == 8)
|
if (sz == 8)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue