Displaying 4 results from an estimated 4 matches for "tuavt7".
2018 May 09
3
Ignored branch predictor hints
...SET FLAT:.LC0
test edi, edi
jne .L7
ret
But Clang seems to ignore _builtin_expect hints in this case.
b(int): # @b(int)
cmp edi, 1
mov eax, offset .L.str.1
mov ecx, offset .L.str.2
cmove rcx, rax
test edi, edi
mov eax, offset .L.str
cmovne rax, rcx
ret
https://godbolt.org/g/tuAVT7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180509/2e5eaa99/attachment.html>
2018 May 09
0
Ignored branch predictor hints
...e.
>>
>> b(int): # @b(int)
>> cmp edi, 1
>> mov eax, offset .L.str.1
>> mov ecx, offset .L.str.2
>> cmove rcx, rax
>> test edi, edi
>> mov eax, offset .L.str
>> cmovne rax, rcx
>> ret
>>
>> https://godbolt.org/g/tuAVT7
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was...
2018 May 09
2
Ignored branch predictor hints
...hints in this case.
>> b(int): # @b(int)
>> cmp edi, 1
>> mov eax, offset .L.str.1
>> mov ecx, offset .L.str.2
>> cmove rcx, rax
>> test edi, edi
>> mov eax, offset .L.str
>> cmovne rax, rcx
>> ret
>> https://godbolt.org/g/tuAVT7 <https://godbolt.org/g/tuAVT7>_______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev <http://lists.llvm.org/cgi-bin/...
2018 May 09
0
Ignored branch predictor hints
...gt;>> cmp edi, 1
>>> mov eax, offset .L.str.1
>>> mov ecx, offset .L.str.2
>>> cmove rcx, rax
>>> test edi, edi
>>> mov eax, offset .L.str
>>> cmovne rax, rcx
>>> ret
>>>
>>> https://godbolt.org/g/tuAVT7
>>>
>>> _______________________________________________
>>> LLVM Developers mailing list
>>> llvm-dev at lists.llvm.org
>>> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>>>
>>>
>>>
>>
> _____________________...