Displaying 5 results from an estimated 5 matches for "lhu".
Did you mean:
hu
2012 Jul 20
2
[LLVMdev] Help with Instruction Expansion on Mips
Hi everyone,
I am a newbie to LLVM. I am trying to ban some of instructions in Mips
Instruction, for example, lh, lhu, sh, and etc.
I have tried to directly comment lh, lhu, and sh to make llvm not to choose
these instruction when compiling, however, it usually cause a 'can not
select ...' error when using 'short' data type in source code.
Then I tried to expand these instructions in EmitInstrWithC...
2012 Jul 20
0
[LLVMdev] Help with Instruction Expansion on Mips
...many cases will no longer be
able to match certain patterns
and you will get thos "can not select" messages.
On 07/20/2012 03:05 AM, Geraint Yang wrote:
> Hi everyone,
>
> I am a newbie to LLVM. I am trying to ban some of instructions in Mips
> Instruction, for example, lh, lhu, sh, and etc.
> I have tried to directly comment lh, lhu, and sh to make llvm not to
> choose these instruction when compiling, however, it usually cause a
> 'can not select ...' error when using 'short' data type in source code.
> Then I tried to expand these instruct...
2012 Jul 20
2
[LLVMdev] Help with Instruction Expansion on Mips
...e
> able to match certain patterns
> and you will get thos "can not select" messages.
>
>
> On 07/20/2012 03:05 AM, Geraint Yang wrote:
>
> Hi everyone,
>
> I am a newbie to LLVM. I am trying to ban some of instructions in Mips
> Instruction, for example, lh, lhu, sh, and etc.
> I have tried to directly comment lh, lhu, and sh to make llvm not to
> choose these instruction when compiling, however, it usually cause a 'can
> not select ...' error when using 'short' data type in source code.
> Then I tried to expand these instructio...
2012 Jul 20
0
[LLVMdev] Help with Instruction Expansion on Mips
...tterns
> and you will get thos "can not select" messages.
>
>
> On 07/20/2012 03:05 AM, Geraint Yang wrote:
>> Hi everyone,
>>
>> I am a newbie to LLVM. I am trying to ban some of instructions in
>> Mips Instruction, for example, lh, lhu, sh, and etc.
>> I have tried to directly comment lh, lhu, and sh to make llvm not
>> to choose these instruction when compiling, however, it usually
>> cause a 'can not select ...' error when using 'short' data type
>> in source code.
>>...
2012 Jul 22
1
[LLVMdev] How to calculate the address in TableGen?
Hello everyone,
I would like to ask a question about the address calculation in TableGen.
I replace a definition in MipsInstrInfo.td:
def : Pat<(i32 (extloadi16_a addr:$src)), (LHu addr:$src)>;
to:
def : Pat<(i32 (extloadi16_a addr:$src)), (OR (LBu addr:$src), (SLL (LBu addr:($src+1)), 8))>;
However, it failed to compiled. It seems that ($src+1) is a wrong representation in TableGen.
I find the definition of adds:
def addr : ComplexPattern<iPTR, 2, "SelectAd...