[PATCH, alpha]: Add earlyclobber to sqrtt/sqrtf insns.
Uros Bizjak
ubizjak@gmail.com
Fri Apr 14 12:47:00 GMT 2017
On Fri, Apr 14, 2017 at 2:38 PM, Florian Weimer <fw@deneb.enyo.de> wrote:
> * Uros Bizjak:
>
>> Add earlyclobber to sqrtt/sqrtf insns.
>>
>> When using software completions, we have to prevent assembler to match
>> input and output operands of sqrtt/sqrtf insn. Add earlyclobber to
>> output operand to avoid unwanted operand matching.
>
> Is this so that the trap handler can recover the original input?
>
> In this case, please add this to the commit message for those of us
> who are not familiar with the Alpha architecture.
I don't know the low-level details, perhaps Richard can explain these
requirements.
The sqrtt simply returns zero for subnormal operand with software
completions when input and output reg are matched.
Uros.
More information about the Libc-alpha
mailing list