[RESEND] PROPOSAL: Extend inline asm syntax with size spec

2018-10-07 Thread Nadav Amit
Second try after being blocked by gcc mailing list: at 9:09 AM, Nadav Amit mailto:na...@vmware.com>> wrote: at 2:18 AM, Borislav Petkov mailto:b...@alien8.de>> wrote: Hi people, this is an attempt to see whether gcc's inline asm heuristic when estimating inline asm statements

Inherited thread-local variables

2014-07-13 Thread Nadav Har'El
d on a class that does have a destructor? Alternatively, has anyone ever tried a different approach to efficiently implementing inherited thread-local variables? P.S. I'm doing this in the context of OSv (http://osv.io), a new open-source operating system for virtual machines. OSv is wri

Length-Changing Prefixes problem with the x86 Backend

2008-06-25 Thread Nadav
hem ( & 0x), gcc detects correctly that my variable is effectively only 16bits and it generates 16bits code. I modified the generated assembly to use 32bit registers and it ran much faster. -- Cheers, Nadav