search for: 0b1001000111011010

Displaying 2 results from an estimated 2 matches for "0b1001000111011010".

2014 Jul 31
3
[LLVMdev] Tablegen binary literals
...sized binary literals if we also allow them > to > > initialize multiple bits in another bits<n> type. > > It also allows type checking for single initializers. I've been caught > out a couple of times when I thought I'd given 17 digits in "let > Inst{16-0} = 0b1001000111011010" or similar. > Allowing underscores in the literal seems like it would help alleviate this somewhat (do we already allow that?). That is what VHDL does ("Underlines can be used to increase readability and have no impact on the value."). -- Sean Silva > > Cheers. > &gt...
2014 Jul 31
5
[LLVMdev] Tablegen binary literals
Hi Adam > On Jul 30, 2014, at 10:28 PM, Adam Nemet <anemet at apple.com> wrote: > > Hi Pete, > > Just to clarify, are you proposing two things here? First, 0b… literals to have type bits<n> and second to allow bits<n> initializer to contain other bits<m> elements which would initialize the next m elements. > Yeah, exactly those 2 things. I have them