with extended uses.
Thanks,
Hongtao
From: Xinliang David Li
Date: Monday, April 26, 2021 at 11:05 AM
To: Andi Kleen
Cc: Jan Hubicka , gcc@gcc.gnu.org , Wei Mi
, Eugene Rozenfeld , Wenlei He
, Hongtao Yu
Subject: Re: State of AutoFDO in GCC
On Mon, Apr 26, 2021 at 11:00 AM Andi Kleen
lp you
could give me. Thank you so much!
Sincerely,
Yu
Hello!
I have a code snippet (actually it is a part of larger project):
#include
#define UDP_PROTO_NUMBER 17
uint32_t calc_16bit_checksum_part(uint8_t* buf, int len, uint32_t ret) {
uint16_t *ptr = reinterpret_cast(buf);
int i;
for( i = 0; i < (len / 2); ++i) {
On Fri, Apr 7, 2017 at 2:08 PM, fab10 <0xfa...@gmail.com> wrote:
> It would be usefull to develop in gcc an intrinsic function for the assembly
> x86 instruction xchg to implement a low level mutex.
I believe that's what atomic_exchange is lowered to on x86?
Ref https://llvm.org/bugs/show_bug.cgi?id=30543#c10
> > That should not be the case, for libgcc functions that are not in RTABI.
> > They should use the ABI of the multilib they are compiled for, which may
> > be base ABI or VFP ABI depending on the options used for compiling that
> > multilib.
>
On Wed, Sep 28, 2016 at 8:07 PM, Joseph Myers wrote:
> On Wed, 28 Sep 2016, Yichao Yu wrote:
>
>> >> Except where an external ABI defines things like that, the normal
>> >> expectation for libgcc functions is that they have the same ABI as for an
>> >> o
On Wed, Sep 28, 2016 at 7:45 PM, Yichao Yu wrote:
> On Wed, Sep 28, 2016 at 7:39 PM, Joseph Myers wrote:
>> On Wed, 28 Sep 2016, Yichao Yu wrote:
>>
>>> In particular, it seems that on all the platforms with a
>>> arm*-*-gnueabihf triple I've checked (alarm
On Wed, Sep 28, 2016 at 7:39 PM, Joseph Myers wrote:
> On Wed, 28 Sep 2016, Yichao Yu wrote:
>
>> In particular, it seems that on all the platforms with a
>> arm*-*-gnueabihf triple I've checked (alarm armv7h, alarm armv6h,
>> debian armhf, fedora armv7hl) the __p
On Wed, Sep 28, 2016 at 5:23 PM, Yichao Yu wrote:
> Hi,
>
> I'd like to ask what should be the calling convention/ABI for these
> routines on platforms with hardware floating point support (but
> somehow still want to generate a libcall for whatever reasons).
>
> In pa
ther case I think it's be nice if the document is a little more
explicit about this.
Yichao Yu
Welcome Joseph.
Wish everyone Happy Holidays and a wonderful 2014!
Charlie
-Original Message-
From: gcc-announce-ow...@gcc.gnu.org [mailto:gcc-announce-ow...@gcc.gnu.org] On
Behalf Of David Edelsohn
Sent: Monday, December 09, 2013 3:28 AM
To: gcc@gcc.gnu.org; gcc-annou...@gcc.gnu.org
S
Hi,
I am wondering if the following piece of code is supposed to be valid.
void* reg_v13() {
register void* r __asm__ ("r13");
return r;
}
I did test with gcc on powerpc64, and confirmed that the function
really returns r13 (thread pointer) value.
However, LLVM issues a warning complaining
Dear all,
I'm trying to generate a (very simple) special data section at
link-time. It seems that LTO is too heavy, though I'm also not quite
familiar with it.
I think that what I first need is a new output format which wraps the
standard ELF, so can anyone help to point out where I can get s
I found this is a bug in my front end because I used the same type for the
parameters in different functions, so the references to the parameter in
the structure messed up.
The thing I want to implement is creating something like this pointers in
C++ of structure type whose variably modified field
HI,
I'm a newbie and I'm trying to modify the front end to extend C.
I know the following code can be accepted,
void f (struct S { int a; } s, int a[][s.a]) { } .
I'm wondering whether it is possible to build a structure which has a
variably modified array whose size depends on an other
On 1/27/2013 5:04 PM, Gerald Pfeifer wrote:
On Sat, 26 Jan 2013, Hongtao Yu wrote:
How can I set up a new project under GCC and make it open-sourced?
Thanks!
That depends on what you mean by "under GCC", I'd say. If you
have improvements for GCC, submitting those as patches a
Hi All,
How can I set up a new project under GCC and make it open-sourced? Thanks!
Cheers,
Hongtao
Hi All,
Does it perform symbolic range analysis or array section analysis in
GCC-4.6 ?
Thanks,
Hongtao Yu
Purdue University
Hi,
Suppose I have a class B in namespace A, it has several overloaded
member function doit.
I'm wondering how to find all the lines where there is a statement
that calls one particular overloaded doit member function? Is it
possible to do so from g++ command line? Or I have to modify g++ to
make
On Mon, Oct 20, 2008 at 9:09 PM, Andrew Pinski <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 20, 2008 at 7:04 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I tried to compile the following program, but I got the following
>> error. Is it a bug of GCC? H
On Mon, Oct 20, 2008 at 9:09 PM, Andrew Pinski <[EMAIL PROTECTED]> wrote:
> On Mon, Oct 20, 2008 at 7:04 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
>> Hi,
>>
>> I tried to compile the following program, but I got the following
>> error. Is it a bug of GCC? H
Hi,
I tried to compile the following program, but I got the following
error. Is it a bug of GCC? Has it been fixed in a newer version GCC?
g++ -Wall -W -pedantic -g -c -o main-g.o main.cc
main.cc:57: internal compiler error: in write_type, at cp/mangle.c:1651
Please submit a full bug report,
wit
On Mon, Sep 15, 2008 at 2:54 PM, Peng Yu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have the following program. When I step in to test's constructor, I
> would be able to print the variable three. It says
> (gdb) n
> 7 T three = 3;
> (gdb) n
> 8
On Tue, Jul 15, 2008 at 5:57 PM, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
> "Peng Yu" <[EMAIL PROTECTED]> writes:
>
>> There is an options -ansi to make g++ ANSI compatible. I'm wondering
>> if there is an option to make g++ POSIX compatible. Or
On Tue, Jul 15, 2008 at 5:57 PM, Ian Lance Taylor <[EMAIL PROTECTED]> wrote:
> "Peng Yu" <[EMAIL PROTECTED]> writes:
>
>> There is an options -ansi to make g++ ANSI compatible. I'm wondering
>> if there is an option to make g++ POSIX compatible. Or
Hi,
There is an options -ansi to make g++ ANSI compatible. I'm wondering
if there is an option to make g++ POSIX compatible. Or g++ is already
POSIX compatible without an option?
Thanks,
Peng
Hi,
I have the following code. I try to print the variable temp in the
constructor of A. But gdb can not do that. The error message is shown
blow the C++ code.
According to the people from gdb mailing list, it is because that the
compiler (g++) does not generate information for such variable in
Hi Ian,
Thanks a lot for your detailed explanation.
> -Original Message-
> From: Ian Lance Taylor [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 13, 2008 1:45 PM
> To: Liu Yu
> Cc: gcc@gcc.gnu.org
> Subject: Re: [PATCH] Fix bug on soft emulation of float point
&
There are 2 bugs existing in __udiv_qrnnd_c:
1. remainder could not be counted correctly
__r1 and __r0 are not adding enough, so I use do..while to replace
former if
2. the case of overflow of __m are not considered
so I add a couple of lines to handle it
I found the bugs from Linux kernel,
for
t; : "(FAIL)");
printf(" %e / %e = %e\n", a.f, b.f, z.f);
}
int main()
{
union fu fa,fb,fe;
fa.u = 0xc0843fff;
fb.u = 0x80ff;
fe.u = 0x7f044000;
fdiv(fa,fb,fe);
}
---
Signed-off-by: Liu Yu <[EMAIL PROTECTED]>
---
gcc/l
Mike Stump wrote:
On Jul 9, 2006, at 10:52 PM, Vladimir 'Yu' Stepanov wrote:
I would like to offer one expansion for C/C++.
Did you just reinvent downcasting in C++? If so, C++ already has that
feature!? As for C, C, I'd claim C already has that feature[1], you
merely h
Ian Lance Taylor wrote:
"Vladimir 'Yu' Stepanov" <[EMAIL PROTECTED]> writes:
Current syntax C/C++:
load_ptr = typeof(load_ptr)(((char *)init_ptr) - \
offsetof(typeof(init_ptr), field);
The offered syntax:
&load_ptr->field = init_ptr;
Hello !
I for the first time write to this list of dispatch. I would
like to offer one expansion for C/C ++. It is quite well entered
in an existing design of language. This expansion increases
expressive power of language since preconditions for reduction
of a role of macros and patterns are c
se is quite
reasonable -- is there any "good" solution for this problem?
Thanks in advance!
_
Dmitry Yu. Bolkhovityanov
The Budker Institute of Nuclear Physics
Novosibirsk, Russia
Hi,
What's wrong with this ? It is ok in gcc 3 not not ok with gcc4:
#define SERVICE_TYPE(type, val, state) SERVICE_##type = val,
typedef enum service_e {
SERVICE_TYPE(NONE, 0, false)
SERVICE_TYPE(FTP,1, true)
SERVICE_TYPE_MAX
} service_type_t;
Thanks
dave
35 matches
Mail list logo