Displaying 9 results from an estimated 9 matches for "f1_".
Did you mean:
f1
2016 Mar 18
4
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
..."-fno-strict-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
> i...
2016 Mar 18
3
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
...ev wrote:
>
> > 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 -f...
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)
// ll...
2016 Mar 19
2
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
...ce. 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...
2016 Mar 22
0
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
...ou *could* put something of type PB at c-8, you'd illegally overlap with the object at c.
>>
>> Thus, there can't be an object of type PB at c-8.
>>
>> (IE any valid object must be sizeof(PB) away in either direction, which means it's not possible for c->f1_ to clobber c no matter what bar does)
>>> We discussed this issue briefly on the #gcc IRC channel.
>>> Richard Biener pointed out that bar cannot make c point to &c - 8,
>>> because computing that pointer would be invalid. So c->f1_ cannot
>>> clobber c i...
2016 Mar 23
1
Redundant load in llvm's codegen compares to gcc when accessing escaped pointer?
...pe PB at c-8, you'd illegally overlap
> with the object at c.
> >>
> >> Thus, there can't be an object of type PB at c-8.
> >>
> >> (IE any valid object must be sizeof(PB) away in either direction,
> which means it's not possible for c->f1_ to clobber c no matter what bar
> does)
>
> >>> We discussed this issue briefly on the #gcc IRC channel.
> >>> Richard Biener pointed out that bar cannot make c point to &c - 8,
> >>> because computing that pointer would be invalid. So c->f1_ cannot...
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 th...
2006 Oct 03
1
HP Toolbox kills Samba
...HBT
MGHDTK[R!2$-0QN0,'H 'X %$&L@#D=8OD>:%B@HB#4$9DS-X`!Z !Q!I( ]$
M6L]$FG82UR8@*&-R!@_ `_ `(@WD@4CKFTA;U3LATA"4,3F#!^ !> "1!O)
MI/5,I,5H<9@M@C(F9_ `/ `/(-) 'HBTGHFTH/^_O;/O22.+XO!7(?ZE22OW
M_<[-QFS<%EM7JHUUTTVVC8N(+:F"`>RVV7[XO3#8BE40[I .VR=M8M0!F1_/
MG//,RQFDXCYI%&6:,QS `1P@:<"#I)5-TISF%AP499HS', !'"!IP(.DE4[2
M@A%(&D69Y@P'< `'2!KP(&DED[00(]%(&D69Y@P'< `'2!KP(&DEDS3C)->D
M491ISG `!W" I $/DE8V27.>TYT499HS', !')1 T@SP(&E(VM?-X5'%VA#C
M3)4TMBN*,LT9#N `#I T)...
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