search for: llvmstackalign

Displaying 2 results from an estimated 2 matches for "llvmstackalign".

2013 Feb 17
2
[LLVMdev] [llvm-c] LLVMAttribute possible bug
While writing bindings to LLVM for another language via the c api I noticed that LLVMAlignment and LLVMStackAlignment do not use 1<<x like all the others, but 31<<x and 7<x respectively (see below, or here: http://llvm.org/docs/doxygen/html/Core_8h_source.html#l00148). It's likely this is as it is intended, but it does look out-of-place enough that I thought it might be a typo and I would...
2013 Feb 17
0
[LLVMdev] [llvm-c] LLVMAttribute possible bug
...ntinue without worrying about it. -- Moritz On 2/17/2013 1:46 PM, Daniel Murphy wrote: > These values are masks for numbers. LLVMAlignment uses 5 bits, so the > mask is 31 (0b11111) and these bits (16-20) cannot be used by other > flags so the next available bit is 21. Same thing for LLVMStackAlignment. On 2/17/2013 1:53 PM, Benjamin Kramer wrote: > This is intentional. LLVMAlignment is not just a bit, it's a 5 bit value so we reserve 5 bits for it. Same for the 3 bits LLVMStackAlignment uses. > > - Ben > On 2/17/2013 1:59 PM, Anton Korobeynikov wrote: > Hello > > T...