Displaying 20 results from an estimated 200 matches similar to: "about AsmMatcherEmitter rules for setting matchables precedence"
2016 Jul 15
2
TableGen change in LLVM 3.9 allows only prefix instruction notation
Hello.
I am curious why did you changed TableGen to allow in principle only writing ASM
instructions in prefix notation. I ask because I personally use an assembly notation that
is infix (I could use a simple preprocessor that changes prefix to infix).
Just to mention: I found the solution to this - the following part of the code is
responsible for this from
2012 Oct 17
0
[LLVMdev] Hexagon Assembly parser question
On Oct 17, 2012, at 3:29 PM, David Young <davidy at codeaurora.org> wrote:
> Hi,
> I’m trying to enable the hexagon LLVM assembly parser. It seem like there is a lot of work that has been done to make this parsing straightforward.
>
> But….
> Hexagon assembly does not follow the “Mnemonic Rx Rx …” format that is expected by the assembly parsing infrastructure,
2012 Oct 17
3
[LLVMdev] Hexagon Assembly parser question
Hi,
I'm trying to enable the hexagon LLVM assembly parser. It seem like there
is a lot of work that has been done to make this parsing straightforward.
But..
Hexagon assembly does not follow the "Mnemonic Rx Rx ." format that is
expected by the assembly parsing infrastructure, represented by:
StringRef Mnemonic = ((ARMOperand*)Operands[0])->getToken();
This
2018 Jan 04
1
InstAlias with tied operands - can it be supported?
Hi Daniel,
I defined checkEarlyTargetMatchPredicate() to explicitly check for the
tied operands, and it worked.
I could define an alias like: InstAlias<"oldOP $rd, $rd, $rs1", (NEWOP
$rd, $rs1)>
However, I had to additionally change AsmMatcherEmitter 'Hack' variable
setting to allow the repeated operand $rd in the AsmString.
Do you or anyone else know the history
2013 Apr 25
0
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
On Apr 25, 2013, at 4:44 AM, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote:
> Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 24.04.2013 23:47:54:
>
>> I would like to add one more case here: Fixed register operands.
>>
>> Some instructions, like x86's MUL and DIV, take operands in fixed
>> registers. Currently, we handle that with COPY
2013 Apr 24
0
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
On Apr 23, 2013, at 11:06 AM, Jim Grosbach <grosbach at apple.com> wrote:
> There are two core issues. First, the tied operands are an artifact of the way we do instruction selection for the compiler. They’re how we represent read-modify-write operands, basically. The assembler shouldn’t have to know or care about them at all. Specifically, they shouldn’t even be represented at all as an
2013 Apr 25
1
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 25.04.2013 18:58:05:
> On Apr 25, 2013, at 4:44 AM, Ulrich Weigand <Ulrich.Weigand at de.ibm.com>
wrote:
>
> > Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 24.04.2013 23:47:54:
> >
> >> I would like to add one more case here: Fixed register operands.
> >>
> >> Some
2013 Apr 25
2
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote on 24.04.2013 23:47:54:
> I would like to add one more case here: Fixed register operands.
>
> Some instructions, like x86's MUL and DIV, take operands in fixed
> registers. Currently, we handle that with COPY instructions to and
> from the fixed registers, but that is making code motion passes more
> complicated than
2017 Dec 15
2
InstAlias with tied operands - can it be supported?
Hello,
InstAlias does not allow tied operands (repeated operands) in the asm
string to be matched.
It seems this situation is explicitly prevented in
AsmMatcherEmitter.cpp:
if (!Hack)
PrintFatalError(TheDef->getLoc(),
"ERROR: matchable with tied operand '" + Tok +
"' can never be matched!");
2013 Apr 24
0
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
Hi Jim,
> Thank you for looking at this. Apologies again for taking
> unjustifiably long to get back to you. This is really good stuff and
> I very much want to see this go in. I like it enough I’m going to
> try to talk you into doing even more work on improving this code. ;)
>
> Fair warning up front: You’re digging into some pretty fundamental
> problems in how the
2017 Dec 15
0
InstAlias with tied operands - can it be supported?
Hi,
On Instructions you can use checkEarlyTargetMatchPredicate() to check that the operands are the same. There's an example of that in MipsAsmParser.cpp for DATI and DAHI. I can't think of a reason TableGen couldn't be made to allow this for InstAlias too.
> On 15 Dec 2017, at 02:12, via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Hello,
>
> InstAlias
2013 Apr 23
4
[LLVMdev] [PATCH] Handle tied sub-operands in AsmMatcherEmitter
Hi Ulrich,
Thank you for looking at this. Apologies again for taking unjustifiably long to get back to you. This is really good stuff and I very much want to see this go in. I like it enough I’m going to try to talk you into doing even more work on improving this code. ;)
Fair warning up front: You’re digging into some pretty fundamental problems in how the assemblers and code generators like to
2013 Oct 02
1
[LLVMdev] [TableGen][AsmParser][MC] isAsmParserOnly flag in class Instruction
Hi Jim,
I did look at the ARMAsmParser and it seems to me that it is using a switch/case construct to change the opcode and the operands, but this construct may become too large eventually. I was wondering if it is possible to use isAsmParser only flag to call dedicated methods, like dedicated parsers for AsmOperands.
Regards
Vladimir
________________________________
From: Jim Grosbach [grosbach
2015 Mar 18
6
[LLVMdev] string input for the integrated assembler
Short version: If the integrated assembler accepted assembly strings
as input, more targets could take advantage of integrated assembly.
The longer version:
For a given assembly statement, my out-of-tree target has complex
instruction selection logic -- more so than the in-tree targets. This
target uses variable length instructions and a laborious hierarchy of
tblgen AsmOperands to do the job.
2017 Mar 09
0
[Announce] Samba 4.5.6 Available for Download
======================================================
"Those who believe in telekinetics,
raise my hand."
Kurt Vonnegut
======================================================
Release Announcements
---------------------
This is the latest stable release of the Samba 4.5 release series.
Changes since 4.5.5:
--------------------
o Jeremy Allison <jra at samba.org>
2017 Mar 09
0
[Announce] Samba 4.5.6 Available for Download
======================================================
"Those who believe in telekinetics,
raise my hand."
Kurt Vonnegut
======================================================
Release Announcements
---------------------
This is the latest stable release of the Samba 4.5 release series.
Changes since 4.5.5:
--------------------
o Jeremy Allison <jra at samba.org>
2017 Oct 15
2
darwin bootstrap failure
On Sun, Oct 15, 2017 at 10:58 AM, Don Hinton <hintonda at gmail.com> wrote:
> Thanks Aaron.
>
> I don't have a Windows system, and haven't seen any buildbot failures, so I
> it's difficult to come up with a patch for something I can't reproduce
> locally or see any actual failures. Could you send me the commands you used
> that uncovered the failure?
This
2017 Oct 15
2
darwin bootstrap failure
On Sat, Oct 14, 2017 at 11:25 AM, Don Hinton via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Hi Jack:
>
> Yes, I was just looking at that. Seems like TableGen wasn't done along with
> the rest of llvm. I'll work up a complete patch shortly.
This also broke the build for MSVC when doing a debug build (though no
builder seems to be picking up the failure!). After
2017 Oct 15
2
darwin bootstrap failure
On Sun, Oct 15, 2017 at 11:19 AM, Don Hinton <hintonda at gmail.com> wrote:
> On Sun, Oct 15, 2017 at 8:06 AM, Aaron Ballman <aaron at aaronballman.com>
> wrote:
>>
>> On Sun, Oct 15, 2017 at 10:58 AM, Don Hinton <hintonda at gmail.com> wrote:
>> > Thanks Aaron.
>> >
>> > I don't have a Windows system, and haven't seen any
2017 Oct 14
3
darwin bootstrap failure
On Sat, Oct 14, 2017 at 10:25 AM, Don Hinton <hintonda at gmail.com> wrote:
> Hi Jack:
>
> Looks like I missed this one in my recent change.
>
> Please let me know if this solves your problem:
>
> $ git diff
> diff --git a/utils/TableGen/InfoByHwMode.cpp
> b/utils/TableGen/InfoByHwMode.cpp
> index 7e1e1864356..8d3636432aa 100644
> ---