Displaying 5 results from an estimated 5 matches for "movps2ssrr".
Did you mean:
movpd2sdrr
2008 Sep 24
0
[LLVMdev] Multi-Instruction Patterns
...e added support to coalesce cross-class
copies (see CrossClassJoin in SimpleRegisterCoalescing.cpp).
Unfortunately, it breaks a few tests and I haven't had the time to
look into them. If that's done, we just need to add the concept of
"compatible register classes" and mark MOVPS2SSrr as a copy and *it
should just work*.
Evan
>
>
> I had actually written my pattern in a similar style before I found
> this. When I tried to build, tblgen complained about the pattern
> being
> of an unknown type (didn't match Instruction or SDNodeXForm).
>
> I'...
2008 Sep 24
2
[LLVMdev] Multi-Instruction Patterns
...coalesce cross-class
> copies (see CrossClassJoin in SimpleRegisterCoalescing.cpp).
Yep.
> Unfortunately, it breaks a few tests and I haven't had the time to
> look into them. If that's done, we just need to add the concept of
> "compatible register classes" and mark MOVPS2SSrr as a copy and *it
> should just work*.
What about getting tblgen support for the pattern in the .td file? That would
be another way to tackle this and would open up a whole bunch of other
opportunities. Instcombine could be entirely expressed as a set of tblgen
patterns, for example, which...
2008 Sep 24
2
[LLVMdev] Multi-Instruction Patterns
Chris Lattner wrote:
> On Sep 23, 2008, at 11:26 AM, David Greene wrote:
>
>> Are there any examples of using tablegen to generate multiple machine
>> instructions from a single pattern? Or do these cases always have
>> to be
>> manually expanded?
>
> PPC has a bunch of examples, for example:
>
> // Arbitrary immediate support. Implement in terms of
2008 Sep 24
0
[LLVMdev] Multi-Instruction Patterns
...g.cpp).
>
> Yep.
As Dan pointed out, #2 is also a workable solution.
>
>> Unfortunately, it breaks a few tests and I haven't had the time to
>> look into them. If that's done, we just need to add the concept of
>> "compatible register classes" and mark MOVPS2SSrr as a copy and *it
>> should just work*.
>
> What about getting tblgen support for the pattern in the .td file?
> That would
> be another way to tackle this and would open up a whole bunch of other
> opportunities. Instcombine could be entirely expressed as a set of
> t...
2008 Sep 24
3
[LLVMdev] Multi-Instruction Patterns
On Wed, September 24, 2008 12:10 am, Evan Cheng wrote:
>
> On Sep 23, 2008, at 7:17 PM, David Greene wrote:
>
>> Chris Lattner wrote:
>>> On Sep 23, 2008, at 11:26 AM, David Greene wrote:
>>>
>>>> Are there any examples of using tablegen to generate multiple
>>>> machine
>>>> instructions from a single pattern? Or do these cases