Displaying 3 results from an estimated 3 matches for "sbfx".
2009 Oct 21
2
[LLVMdev] [PATCH] Fix arm sbfx/ubfx generation
Hi,
Currently llvm can generate an invalid sbfx/ubfx op, for instance when
compiling encoder/analyse.c in x264 (I'll reduce this to a test case
if needed):
clang -O3 -Wall -I. -isysroot=/Developer/Platforms/iPhoneOS.platform/
Developer/SDKs/iPhoneOS3.0.sdk -Qunused-arguments -mno-thumb -mdynamic-
no-pic -arch armv7 -mcpu=cortex-a8 -m...
2009 Oct 21
0
[LLVMdev] [PATCH] Fix arm sbfx/ubfx generation
On Oct 20, 2009, at 10:27 PM, David Conrad wrote:
> Hi,
>
> Currently llvm can generate an invalid sbfx/ubfx op, for instance
> when compiling encoder/analyse.c in x264 (I'll reduce this to a test
> case if needed):
Well I just read the dev policy and saw that this was required, so
test case attached. It'll break if llvm starts emitting the lsl r0,
r0, #3 / asr r0, r0, #1 varia...
2017 Jun 15
9
About CodeGen quality
Hi Mats,
It's private backend. I will try describing what I am dealing with.
struct S {
unsigned int a : 8;
unsigned int b : 8;
unsigned int c : 8;
unsigned int d : 8;
unsigned int e;
}
We want to read S->b for example. The size of struct S is 64 bits, and
seems LLVM treats it as i64.
Below is the IR corresponding to S->b, IIRC.
%0 = load