Displaying 9 results from an estimated 9 matches for "mrm4m".
Did you mean:
mrm0m
2009 Jun 16
2
[LLVMdev] x86 Intel Syntax and MASM 9.x
...introduce something like the follow to X86.td:
def IsIntelAsmWriter : Predicate<"Subtarget.isFlavorIntel()">;
def IsATTAsmWriter : Predicate<"!Subtarget.isFlavorIntel()">;
and then in X86InstrInfo.td make changes something like:
def SHL8mCLIntel : I<0xD2, MRM4m, (outs), (ins i8mem :$dst),
"shl{b}\t{%cl, $dst|$dst, CL}",
[(store (shl (loadi8 addr:$dst), CL),
addr:$dst)]>, requires<[IsIntelAsmWriter]>;
def SHL8mCLATT : I<0xD2, MRM4m, (outs), (ins i8mem :$dst),
"shl{b}\t{%cl, $dst|$dst, %CL}",
[...
2009 Jun 16
0
[LLVMdev] x86 Intel Syntax and MASM 9.x
On Mon, Jun 15, 2009 at 5:49 PM, Gaster,
Benedict<Benedict.Gaster at amd.com> wrote:
> I would like to use the LLVM x86 code generator to emit Intel syntax that is
> compatible with Microsoft’s MASM 9.x. Taking the TOT LLVM, from last week, I
> have found a number of changes that are required to make this work, most of
> which are straight forward but a couple I wanted to check
2009 Jun 16
3
[LLVMdev] x86 Intel Syntax and MASM 9.x
I would like to use the LLVM x86 code generator to emit Intel syntax
that is compatible with Microsoft's MASM 9.x. Taking the TOT LLVM, from
last week, I have found a number of changes that are required to make
this work, most of which are straight forward but a couple I wanted to
check with the group to see what people thought was the best thing to
do. In particular, I have made all necessary
2004 Jul 01
0
[LLVMdev] Operand constraints
Vladimir Prus wrote:
> On my target, the multiplication can involve all general purpose registers,
> but there's are still some restrictions: the first and the second operand
> as well as the result must be in different registers, and neither register
> can be gr7. How can I enforce this restriction on the register allocator?
And the other side of the question is now to inform
2004 Jul 01
3
[LLVMdev] Operand constraints
On my target, the multiplication can involve all general purpose registers,
but there's are still some restrictions: the first and the second operand as
well as the result must be in different registers, and neither register can
be gr7. How can I enforce this restriction on the register allocator?
- Volodya
2008 Apr 16
0
[LLVMdev] Being able to know the jitted code-size before emitting
...gister()) {
> - if (isX86_64ExtendedReg(MO))
> - REX |= 1 << Bit;
> - Bit++;
> - }
> - }
> - break;
> - }
> - case X86II::MRM0m: case X86II::MRM1m:
> - case X86II::MRM2m: case X86II::MRM3m:
> - case X86II::MRM4m: case X86II::MRM5m:
> - case X86II::MRM6m: case X86II::MRM7m:
> - case X86II::MRMDestMem: {
> - unsigned e = isTwoAddr ? 5 : 4;
> - i = isTwoAddr ? 1 : 0;
> - if (NumOps > e && isX86_64ExtendedReg(MI.getOperand(e)))
> - REX |= 1 << 2;
&...
2008 Apr 15
4
[LLVMdev] Being able to know the jitted code-size before emitting
OK, here's a new patch that adds the infrastructure and the
implementation for X86, ARM and PPC of GetInstSize and GetFunctionSize.
Both functions are virtual functions defined in TargetInstrInfo.h.
For X86, I moved some commodity functions from X86CodeEmitter to
X86InstrInfo.
What do you think?
Nicolas
Evan Cheng wrote:
>
> I think both of these belong to TargetInstrInfo. And
2007 Sep 24
0
[LLVMdev] RFC: Tail call optimization X86
...[]>;
+let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1 in
+ def TAILJMPr : I<0xFF, MRM4r, (outs), (ins GR32:$dst), "jmp{l}\t{*}
$dst # TAILCALL",
+ []>;
+let isCall = 1, isTerminator = 1, isReturn = 1, isBarrier = 1 in
def TAILJMPm : I<0xFF, MRM4m, (outs), (ins i32mem:$dst),
"jmp\t{*}$dst # TAIL CALL", []>;
Please fix the inconsistency: "TAILCALL" vs. "TAIL CALL".
+SDOperand GetPossiblePreceedingTailCall(SDOperand Chain) {
This should be "static"?
+
+ Chain = DAG.getNode(...
2007 Sep 23
2
[LLVMdev] RFC: Tail call optimization X86
The patch is against revision 42247.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tailcall-src.patch
Type: application/octet-stream
Size: 62639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070923/4770302f/attachment.obj>