mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
in codelem(), use AArc64 register masks (#21101)
This commit is contained in:
parent
001893d99c
commit
21cfefc9d1
1 changed files with 4 additions and 0 deletions
|
@ -2768,6 +2768,10 @@ void codelem(ref CGstate cg, ref CodeBuilder cdb,elem* e,ref regm_t pretregs,uin
|
|||
default:
|
||||
break;
|
||||
}
|
||||
if (cg.AArch64)
|
||||
{
|
||||
pretregs = tyfloating(e.Ety) ? INSTR.FLOATREGS : cg.allregs;
|
||||
}
|
||||
}
|
||||
loaddata(cdb,e,pretregs);
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue