[llvm-commits] [llvm] r77584 - /llvm/trunk/lib/Target/X86/README.txt

Evan Cheng evan.cheng at apple.com
Thu Jul 30 10:36:12 PDT 2009


On Jul 30, 2009, at 8:52 AM, Chris Lattner wrote:

> On Jul 30, 2009, at 1:56 AM, Evan Cheng wrote:
>> Author: evancheng
>> Date: Thu Jul 30 03:56:19 2009
>> New Revision: 77584
>> +Problem #2 is we are adding a whole bunch of x86 atomic
>> instructions when in
>> +fact these instructions are identical to the non-lock versions. We
>> need a way to
>> +add target specific information to target nodes and have this
>> information
>> +carried over to machine instructions. Asm printer (or JIT) can use
>> this
>> +information to add the "lock" prefix.
>
> Maybe just make "lock" be an operand that can be 0/1, like the
> predicate bit on arm?
>

That's possible but currently we don't have a way to toggling it  
during isel.

Evan

> -Chris
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list