dmd.backend.cod3.movregconst
- multiple declarations
Function movregconst
Move constant value into reg. Take advantage of existing values in registers. If flags & mPSW set flags based on result Else if flags & 8 do not disturb flags Else don't care about flags If flags & 1 then byte move If flags & 2 then short move (for I32 and I64) If flags & 4 then don't disturb unused portion of register If flags & 16 then reg is a byte register AL..BH If flags & 64 (0x40) then 64 bit move (I64 only)
extern(C++) void movregconst
(
ref dmd .backend .code .CodeBuilder cdb,
uint reg,
ulong value,
uint flags
);
Returns
code (if any) generated
Function movregconst
Move constant value into reg. Take advantage of existing values in registers. If flags & mPSW set flags based on result Else if flags & 8 do not disturb flags Else don't care about flags If flags & 1 then byte move If flags & 2 then short move (for I32 and I64) If flags & 4 then don't disturb unused portion of register If flags & 16 then reg is a byte register AL..BH If flags & 64 (0x40) then 64 bit move (I64 only)
extern(C++) void movregconst
(
ref dmd .backend .code .CodeBuilder cdb,
uint reg,
ulong value,
uint flags
);
Returns
code (if any) generated