Displaying 8 results from an estimated 8 matches for "fpform".
2013 Jul 19
3
[LLVMdev] fptoui calling a function that modifies ECX
Try adding ECX to the Defs of this part of
lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have a
Windows machine to test myself.
let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in {
def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src),
"# win32 fptoui",
[(X86WinFTOL RFP32:$src)]>,
Requires<[In32BitMode]>;
def WIN_FTOL_64 : I<0, Pseudo, (outs), (ins RFP64:$src),...
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
...;m trying this now.
>
>
> On 19/07/2013 5:23 PM, Craig Topper wrote:
>
> Try adding ECX to the Defs of this part of
> lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have a
> Windows machine to test myself.
>
> let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in {
> def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src),
> "# win32 fptoui",
> [(X86WinFTOL RFP32:$src)]>,
> Requires<[In32BitMode]>;
>
> def WIN_FTOL_64 : I<0, Pseudo,...
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
...;
>> On 19/07/2013 5:23 PM, Craig Topper wrote:
>>
>> Try adding ECX to the Defs of this part of
>> lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have a
>> Windows machine to test myself.
>>
>> let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in {
>> def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src),
>> "# win32 fptoui",
>> [(X86WinFTOL RFP32:$src)]>,
>> Requires<[In32BitMode]>;
>>
>> def WIN_F...
2013 Jul 19
0
[LLVMdev] fptoui calling a function that modifies ECX
Thank you, I'm trying this now.
On 19/07/2013 5:23 PM, Craig Topper wrote:
> Try adding ECX to the Defs of this part of
> lib/Target/X86/X86InstrCompiler.td like I've done below. I don't have
> a Windows machine to test myself.
>
> let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in {
> def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src),
> "# win32 fptoui",
> [(X86WinFTOL RFP32:$src)]>,
> Requires<[In32BitMode]>;
>
> def WIN_FTOL_64 : I<0, Pseudo,...
2013 Jul 19
0
[LLVMdev] fptoui calling a function that modifies ECX
...On 19/07/2013 5:23 PM, Craig Topper wrote:
>> Try adding ECX to the Defs of this part of
>> lib/Target/X86/X86InstrCompiler.td like I've done below. I don't
>> have a Windows machine to test myself.
>>
>> let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in {
>> def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src),
>> "# win32 fptoui",
>> [(X86WinFTOL RFP32:$src)]>,
>> Requires<[In32BitMode]>;
>>
>> def WIN_FT...
2013 Jul 20
0
[LLVMdev] fptoui calling a function that modifies ECX
...pper wrote:
>>> Try adding ECX to the Defs of this part of
>>> lib/Target/X86/X86InstrCompiler.td like I've done below. I
>>> don't have a Windows machine to test myself.
>>>
>>> let Defs = [EAX, EDX, ECX, EFLAGS], FPForm = SpecialFP in {
>>> def WIN_FTOL_32 : I<0, Pseudo, (outs), (ins RFP32:$src),
>>> "# win32 fptoui",
>>> [(X86WinFTOL RFP32:$src)]>,
>>> Requires<[In32BitMode]>;
>>>
>>>...
2013 Jul 19
0
[LLVMdev] fptoui calling a function that modifies ECX
Oh, excellent point, I agree. My bad. Now that I'm not assuming those
are the sqrt, I see the sqrtpd's in the output. Also there are three
fptoui's and there are 3 call instances.
(Changing subject line again.)
Now it looks like it's bug #13862
On 19/07/2013 4:51 PM, Craig Topper wrote:
> I think those calls correspond to this
>
> %110 = fptoui double %109 to i32
2013 Jul 19
4
[LLVMdev] SIMD instructions and memory alignment on X86
Hmm, I'm not able to get those .ll files to compile if I disable SSE and I
end up with SSE instructions(including sqrtpd) if I don't disable it.
On Thu, Jul 18, 2013 at 10:53 PM, Peter Newman <peter at uformia.com> wrote:
> Is there something specifically required to enable SSE? If it's not
> detected as available (based from the target triple?) then I don't think