Displaying 2 results from an estimated 2 matches for "insnencod".
2017 Apr 15
2
About TableGen RangeList
Hi All,
One thing I believe also bothers someone else. Say we have the following
code snippet:
bits<32> insnEncoding;
let insnEncoding{15-12} = 0b0100;
Can we write the let expression with range list like this, with the same
meaning?
let insnEncoding{12-15} = 0b0100;
I take a look on TGParser::ParseRangePiece (lib/TableGen/TGParser.cpp),
seems the
answer is YES. Can anyone confirm this?
Thanks.
Re...
2017 Apr 16
3
About TableGen RangeList
On 15 April 2017 at 19:52, 陳韋任 via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> Okay, a little experiment shows the order matters.
Interesting, thanks for reporting back. Personally I find it pretty
scary that we support the second form at all. It's mixing two
different endiannesses with no real indication of which one will win.
Tim.