search for: 0b1100

Displaying 1 result from an estimated 1 matches for "0b1100".

Did you mean: 0.1100
2014 Jul 31
2
[LLVMdev] Tablegen binary literals
...a value with 3 bits, and not a 2-bit value which is silently truncated and later silently zero extended. Given this, I would then like to extend bits initializers to accept these new sized binary literals. For example, I would like to be able to write bits<2> opc; bits<8> x = { opc, 0b1100, rd{1}, rs{0} } This would let us write some encodings much more concisely, instead of having to put each initializer on its own line. I do have patches, which I’m happy to present for review, but I’d like some feedback on the general idea before we get to the low level details. Thanks, Pete