Displaying 8 results from an estimated 8 matches for "divm16_pseudo".
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...int_phx_divm_u16 : Intrinsic<[llvm_any_ty],
>> [llvm_i16_ty, llvm_i16_ty],
>> [IntrNoMem]>;
>>
>> that I want to translate to the following instruction during instruction selection:
>>
>> def divm16_pseudo : MyPseudoInst<
>> (outs aNh_0_7:$dst, aNh_0_7:$dst2),
>> (ins aNh_0_7:$src1, aNh_0_7:$src2)>;
>>
>> So I've done a pattern the same way I've done for numerous other intrinsics (that returns simple types like i16/i32 etc):
>>
>> def : Pat<...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...n my out-of-tree target I have an intrinsic
def int_phx_divm_u16 : Intrinsic<[llvm_any_ty],
[llvm_i16_ty, llvm_i16_ty],
[IntrNoMem]>;
that I want to translate to the following instruction during instruction
selection:
def divm16_pseudo : MyPseudoInst<
(outs aNh_0_7:$dst, aNh_0_7:$dst2),
(ins aNh_0_7:$src1, aNh_0_7:$src2)>;
So I've done a pattern the same way I've done for numerous other
intrinsics (that returns simple types like i16/i32 etc):
def : Pat<(int_phx_divm_u16 i16:$src1, i16:$src2),...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...ntrinsic
>
> def int_phx_divm_u16 : Intrinsic<[llvm_any_ty],
> [llvm_i16_ty, llvm_i16_ty],
> [IntrNoMem]>;
>
> that I want to translate to the following instruction during instruction selection:
>
> def divm16_pseudo : MyPseudoInst<
> (outs aNh_0_7:$dst, aNh_0_7:$dst2),
> (ins aNh_0_7:$src1, aNh_0_7:$src2)>;
>
> So I've done a pattern the same way I've done for numerous other intrinsics (that returns simple types like i16/i32 etc):
>
> def : Pat<(int_phx_divm_u16 i16:$...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
Hi,
On 03/30/2016 11:38 AM, Matt Arsenault wrote:
>
>> On Mar 30, 2016, at 11:35, Mikael Holmén <mikael.holmen at ericsson.com
>> <mailto:mikael.holmen at ericsson.com>> wrote:
>>
>> i16 (divm16_pseudo …)
>>
>> stuff?
>>
>> I've tried
>> (i16, i16 (divm16_pseudo i16:$src1, i16:$src2)
>> and
>> ((i16, i16) (divm16_pseudo i16:$src1, i16:$src2)
>> and a few other variants without managing to get it through.
>>
>> Thanks again,
>>...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...n at ericsson.com> wrote:
>
> Hi,
>
> On 03/30/2016 11:38 AM, Matt Arsenault wrote:
>>
>>> On Mar 30, 2016, at 11:35, Mikael Holmén <mikael.holmen at ericsson.com
>>> <mailto:mikael.holmen at ericsson.com>> wrote:
>>>
>>> i16 (divm16_pseudo …)
>>>
>>> stuff?
>>>
>>> I've tried
>>> (i16, i16 (divm16_pseudo i16:$src1, i16:$src2)
>>> and
>>> ((i16, i16) (divm16_pseudo i16:$src1, i16:$src2)
>>> and a few other variants without managing to get it through.
>>...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
> On Mar 30, 2016, at 11:35, Mikael Holmén <mikael.holmen at ericsson.com> wrote:
>
> i16 (divm16_pseudo …)
>
> stuff?
>
> I've tried
> (i16, i16 (divm16_pseudo i16:$src1, i16:$src2)
> and
> ((i16, i16) (divm16_pseudo i16:$src1, i16:$src2)
> and a few other variants without managing to get it through.
>
> Thanks again,
> Mikael
Are you trying to return multiple...
2016 Mar 30
2
Instruction selection pattern for intrinsic returning llvm_any_ty
...;>
>> Hi,
>>
>> On 03/30/2016 11:38 AM, Matt Arsenault wrote:
>>>
>>>> On Mar 30, 2016, at 11:35, Mikael Holmén <mikael.holmen at ericsson.com
>>>> <mailto:mikael.holmen at ericsson.com>> wrote:
>>>>
>>>> i16 (divm16_pseudo …)
>>>>
>>>> stuff?
>>>>
>>>> I've tried
>>>> (i16, i16 (divm16_pseudo i16:$src1, i16:$src2)
>>>> and
>>>> ((i16, i16) (divm16_pseudo i16:$src1, i16:$src2)
>>>> and a few other variants without manag...
2016 Mar 30
0
Instruction selection pattern for intrinsic returning llvm_any_ty
...>>> On 03/30/2016 11:38 AM, Matt Arsenault wrote:
>>>>
>>>>> On Mar 30, 2016, at 11:35, Mikael Holmén <mikael.holmen at ericsson.com
>>>>> <mailto:mikael.holmen at ericsson.com>> wrote:
>>>>>
>>>>> i16 (divm16_pseudo …)
>>>>>
>>>>> stuff?
>>>>>
>>>>> I've tried
>>>>> (i16, i16 (divm16_pseudo i16:$src1, i16:$src2)
>>>>> and
>>>>> ((i16, i16) (divm16_pseudo i16:$src1, i16:$src2)
>>>>> and...