Displaying 12 results from an estimated 12 matches for "in32bitmode".
2011 Sep 30
2
[LLVMdev] LLVM backends instruction selection
I am new to the LLVM backends, I am wondering how instruction selection is
done in LLVM backends, I looked at the .td files in Target/X86, they all
seem to be small and do not deal with common X86 instructions, i.e. mov,
push, pop, etc.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2013 Nov 27
0
[LLVMdev] Some bugs in x86 disasm (llvm-mc)
...I'm not sure how to fix this yet, but this looks incorrectly defined in
lib/Target/X86/X86InstrInfo.td:
def MOV32o32a : Ii32 <0xA1, RawFrm, (outs), (ins offset32:$src),
"mov{l}\t{$src, %eax|eax, $src}", [], IIC_MOV_MEM>,
Requires<[In32BitMode]>;
This instruction can be REX-prefixed for a 64-bit move, and that also
doesn't appear to be defined anywhere.
I would file a bugzilla in the x86 component and cc Craig Topper, the x86
disasm/codegen expert.
On Wed, Nov 27, 2013 at 8:56 AM, Jun Koi <junkoi2004 at gmail.com> wrote...
2013 Nov 27
3
[LLVMdev] Some bugs in x86 disasm (llvm-mc)
Hi,
With objdump, i have this (Intel syntax)
64 a1 00 00 00 00 mov eax,fs:0x0
However, if I pass above string to llvm-mc, I would have:
$ echo "0x64 0xa1 0x00 0x00 0x00 0x00"|./Release+Asserts/bin/llvm-mc
-disassemble -arch=x86 --output-asm-variant=1
.text
mov eax, dword ptr [0]
You can see a big difference. This is on the latest code. Any idea how to
2014 Jan 14
2
[LLVMdev] Some bugs in x86 disasm (llvm-mc)
...o fix this yet, but this looks incorrectly defined in
> lib/Target/X86/X86InstrInfo.td:
>
> def MOV32o32a : Ii32 <0xA1, RawFrm, (outs), (ins offset32:$src),
> "mov{l}\t{$src, %eax|eax, $src}", [], IIC_MOV_MEM>,
> Requires<[In32BitMode]>;
>
> This instruction can be REX-prefixed for a 64-bit move, and that also
> doesn't appear to be defined anywhere.
>
> I would file a bugzilla in the x86 component and cc Craig Topper, the x86
> disasm/codegen expert.
>
>
>
> On Wed, Nov 27, 2013 at 8:56 AM,...
2013 Jul 19
3
[LLVMdev] fptoui calling a function that modifies ECX
...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),
"# win32 fptoui",
[(X86WinFTOL RFP64:$src)]>,
Requires<[In32BitMode]>;
}
On Thu, Jul 18, 2013 at 11:59 PM, Peter Newman <peter at uformia.com&...
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
...st 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),
> "# win32 fptoui",
> [(X86WinFTOL RFP64:$src)]>,
> Requires<[In32BitMode]>;
> }
>
>
> On Thu, Jul 18, 2013 at 11:59...
2013 Jul 19
2
[LLVMdev] fptoui calling a function that modifies ECX
...> 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),
>> "# win32 fptoui",
>> [(X86WinFTOL RFP64:$src)]>,
>> Requires<[In32BitMode]>;
>> }
>>
>>
&g...
2013 Jul 19
0
[LLVMdev] fptoui calling a function that modifies ECX
...est 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),
> "# win32 fptoui",
> [(X86WinFTOL RFP64:$src)]>,
> Requires<[In32BitMode]>;
> }
>
>
> On Thu, Jul 18, 2013 at 11:59...
2013 Jul 19
0
[LLVMdev] fptoui calling a function that modifies ECX
...;> 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),
>> "# win32 fptoui",
>> [(X86WinFTOL RFP64:$src)]>,
>> Requires<[In32BitMode]>;
>> }
>>
>>
>...
2013 Jul 20
0
[LLVMdev] fptoui calling a function that modifies ECX
...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),
>>> "# win32 fptoui",
>>> [(X86WinFTOL RFP64:$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