Re: Updated x86-64 psABI

2015-11-19 Thread H.J. Lu
On Wed, Nov 18, 2015 at 1:47 PM, H.J. Lu wrote: > Hi, > > The x86-64 psABI has been updated to revision 248. Main changes are > > 1. Support Intel MPX. > 2. Add a chapter for linker optimization. > 3. Add 2 new relocations, R_X86_64_GOTPCRELX and R_X86_64_REX_GOTPCRELX. > > MPX supported has been

Re: basic asm and memory clobbers

2015-11-19 Thread David Wohlferd
Unless there are other benefits I'm just not seeing? When we fix 24414 by honoring the "uses/clobbers all hard registers and memory" semantics for old-style asms, those old-style asms will be *less* likely to cause problems in the presence of ever-improving optimization techniques. Ok, this

Re: basic asm and memory clobbers

2015-11-19 Thread Sandra Loosemore
On 11/19/2015 06:23 PM, David Wohlferd wrote: About the only immediate task would be to ensure that the documentation for traditional asms clearly documents the desired semantics and somehow note that there are known bugs in the implementation (ie 24414, handling of flags registers, and probably

Re: basic asm and memory clobbers

2015-11-19 Thread Segher Boessenkool
On Thu, Nov 19, 2015 at 05:23:55PM -0800, David Wohlferd wrote: > For that reason, I'd like to propose adding 2 new clobbers to extended > asm as part of this work: > > "clobberall" - This gives extended the same semantics as whatever the > new basic asm will be using. > "clobbernone" - This giv