[PATCH 2/2] wined3d: Pass a wined3d_device pointer to wined3d_from_cs().
stefandoesinger at gmail.com
Sat Jul 3 10:42:29 CDT 2021
Am Freitag, 2. Juli 2021, 17:09:50 CEST schrieb Jan Sikorski:
> I guess it’s to force a memory load on each call, which could be omitted if
> the function is inlined. X86 loads are atomic IIRC. - Jan
It was necessary to make ARM CPUs re-load the data from memory. gcc inlines
the function and would put both head and tail in a register and loop forever.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: This is a digitally signed message part.
More information about the wine-devel