search for: f2_

Displaying 6 results from an estimated 6 matches for "f2_".

Did you mean: f2
2016 Mar 18
4
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
...t-aliasing", and additional loads hurt performance. We did some change in SROA::runOnAlloca, we try to do something like this: void qux(PB* _c) { PB* c; <= insert this for original code bar(&_c); c = _c; <= insert this for original code c->f1_ = 0; c->f2_ = 0.f; } Any opinions please let us know. Thanks! CY On Fri, Mar 18, 2016 at 11:24 PM, David Blaikie <dblaikie at gmail.com> wrote: > Why would computing that pointer be invalid? > > (I could imagine, if there was no object behind c to point to it would be > invalid - but that...
2016 Mar 15
2
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
Hi, Please look at this c code: typedef struct _PB { void* data; /* required.*/ int f1_; float f2_; } PB; PB** bar(PB** t); void qux(PB* c) { bar(&c); /* c is escaped because of bar */ c->f1_ = 0; c->f2_ = 0.f; } // gcc-5.2.1 with -fno-strict-aliasing -O2 on x86 call bar movq 8(%rsp), %rax movl $0, 8(%rax) movl $0x00000000, 12(%rax) // llvm 3.9.0 with...
2016 Mar 18
3
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
...t; On Mar 15, 2016, at 7:58 AM, Chuang-Yu Cheng via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > Hi, > > > > Please look at this c code: > > > > typedef struct _PB { > > void* data; /* required.*/ > > int f1_; > > float f2_; > > } PB; > > > > PB** bar(PB** t); > > > > void qux(PB* c) { > > bar(&c); /* c is escaped because of bar */ > > c->f1_ = 0; > > c->f2_ = 0.f; > > } > > > > // gcc-5.2.1 with -fno-strict-aliasing -O2...
2016 Mar 19
2
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
...SROA::runOnAlloca, we try to >> do something like this: >> >> void qux(PB* _c) { >> PB* c; <= insert this for original code >> bar(&_c); >> >> c = _c; <= insert this for original code >> c->f1_ = 0; >> c->f2_ = 0.f; >> } >> >> Any opinions please let us know. >> Thanks! >> >> CY >> >> On Fri, Mar 18, 2016 at 11:24 PM, David Blaikie <dblaikie at gmail.com> >> wrote: >> >>> Why would computing that pointer be invalid? >>>...
1999 Mar 11
1
: for factors (PR#139)
The following example from the help page does not work: > f1_ gl(2,3); f1 > f2_ gl(3,2); f2 > f1:f2 # a factor, the ``cross'' f1 x f2 yields Warning in f1:f2 : Numerical expression has 6 elements: only the first used [1] 1 whereas R-0.61.2 yields > f1:f2 # a factor, the ``cross'' f1 x f2 [1] 1:1 1:1 1:2 2:2 2:3 2:3 Note that the new behavior is con...
2008 Jun 30
4
Rebuild of kernel 2.6.9-67.0.20.EL failure
Hello list. I'm trying to rebuild the 2.6.9.67.0.20.EL kernel, but it fails even without modifications. How did I try it? Created a (non-root) build environment (not a mock ) Installed the kernel.scr.rpm and did a rpmbuild -ba --target=`uname -m` kernel-2.6.spec 2> prep-err.log | tee prep-out.log The build failed at the end: Processing files: kernel-xenU-devel-2.6.9-67.0.20.EL Checking