search for: eax_aliasset

Displaying 3 results from an estimated 3 matches for "eax_aliasset".

Did you mean: rax_aliasset
2007 Apr 06
5
[LLVMdev] Register Alias Sets
I notice that in X86GenRegisterInfo.inc, the AliasSets do not include the register being queried. For example: const unsigned RAX_AliasSet[] = { X86::EAX, X86::AX, X86::AL, X86::AH, 0 }; const unsigned EAX_AliasSet[] = { X86::RAX, X86::AX, X86::AL, X86::AH, 0 }; This makes it hard to do set comparisons. RAX and EAX really have equivalent alias sets but one wouldn't know that from these definitions. Is there a specific reason that these registers are left out? Would things seriously break if they were...
2007 Apr 07
0
[LLVMdev] Register Alias Sets
On Apr 6, 2007, at 4:51 PM, David Greene wrote: > I notice that in X86GenRegisterInfo.inc, the AliasSets do not > include the register being queried. For example: > > const unsigned RAX_AliasSet[] = { X86::EAX, X86::AX, X86::AL, > X86::AH, > 0 }; > const unsigned EAX_AliasSet[] = { X86::RAX, X86::AX, X86::AL, > X86::AH, 0 }; > > This makes it hard to do set comparisons. RAX and EAX really have > equivalent alias sets but one wouldn't know that from these > definitions. Does it really make it that hard to do set comparisons? The sets are themselv...
2007 Apr 07
0
[LLVMdev] Register Alias Sets
.../07, David Greene <greened at obbligato.org> wrote: > > I notice that in X86GenRegisterInfo.inc, the AliasSets do not > include the register being queried. For example: > > const unsigned RAX_AliasSet[] = { X86::EAX, X86::AX, X86::AL, X86::AH, > 0 }; > const unsigned EAX_AliasSet[] = { X86::RAX, X86::AX, X86::AL, > X86::AH, 0 }; > > This makes it hard to do set comparisons. RAX and EAX really have > equivalent alias sets but one wouldn't know that from these definitions. Sure, but where these comparisons are needed, for example? RAX and EAX alias sets int...