[llvm-commits] [llvm] r66922 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.td test/CodeGen/X86/tls13.ll test/CodeGen/X86/tls14.ll

Dan Gohman gohman at apple.com
Fri Mar 13 11:52:48 PDT 2009


On Mar 13, 2009, at 11:37 AM, Rafael Espindola wrote:

> Author: rafael
> Date: Fri Mar 13 13:37:06 2009
> New Revision: 66922
>
> URL: http://llvm.org/viewvc/llvm-project?rev=66922&view=rev
> Log:
> Improve sext and zext of TLS variables.

Hi Rafael,

x86 has a large number of instructions which have
a load or store folded into them. Instead of making a
TLS version of every one of them, would it make sense to
extend the x86 address matching code from 4 to 5 operands,
adding an operand for a TLS base? This would allow any
instruction with an address operand to be able to talk
directly to TLS storage.

Dan




More information about the llvm-commits mailing list