search for: uint32_field2

Displaying 3 results from an estimated 3 matches for "uint32_field2".

2010 Jul 14
0
[LLVMdev] different layout of structs for llc vs. llvm-gcc
...irrelevant because the though not explained. What I > meant to say was if the padding was accomplished with an align > directive on the field, would the alignment be propagated to the > global after being split up? I tried this already (in the form of { uint32_t field; uint8_t pad[60]; uint32_field2;}). Alignment seems to be properly propagated, but pad[] is still removed, so I believe that other globals without custom alignment constraints could still be located in the same cachelines as field or field2. Torvald
2010 Jul 14
1
[LLVMdev] different layout of structs for llc vs. llvm-gcc
...hough not explained.  What I >> meant to say was if the padding was accomplished with an align >> directive on the field, would the alignment be propagated to the >> global after being split up? > > I tried this already (in the form of { uint32_t field; uint8_t pad[60]; > uint32_field2;}). Alignment seems to be properly propagated, but pad[] is still > removed, so I believe that other globals without custom alignment constraints > could still be located in the same cachelines as field or field2. > > Torvald > _______________________________________________ > LLV...
2010 Jul 14
2
[LLVMdev] different layout of structs for llc vs. llvm-gcc
On Wed, Jul 14, 2010 at 10:54 AM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Wed, Jul 14, 2010 at 8:33 AM, Andrew Lenharth <andrewl at lenharth.org> wrote: >> On Wed, Jul 14, 2010 at 10:26 AM, Eli Friedman <eli.friedman at gmail.com> wrote: >>> On Wed, Jul 14, 2010 at 3:20 AM, Torvald Riegel >>> <torvald at se.inf.tu-dresden.de> wrote: