Re: Builtin for consulting value analysis (better ffs() code gen)

2024-03-21 Thread LIU Hao via Gcc
在 2024-03-14 23:33, Andrew Cooper via Gcc 写道: And for x86's arch_ffs(), unsigned int arch_ffs(unsigned int x) {     unsigned int res;     if ( __builtin_constant_p(x > 0) && x > 0 )     {         // Well defined when x is known non-zero         asm("bsf %1, %0" : "=r"(res) : "rm"(x)); Ev

Re: [RFC] add regenerate Makefile target

2024-03-21 Thread Christophe Lyon via Gcc
On Wed, 20 Mar 2024 at 16:34, Simon Marchi wrote: > > On 3/18/24 13:25, Christophe Lyon wrote: > > Well the rule to regenerate Makefile.in (eg in in opcodes/) is a bit > > more complex > > than just calling automake. IIUC it calls automake --foreign it any of > > *.m4 file from $(am__configure_dep

gcc-11-20240321 is now available

2024-03-21 Thread GCC Administrator via Gcc
Snapshot gcc-11-20240321 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20240321/ and on various mirrors, see https://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

Interest in Contributing to OpenACC Support & Code Offloading Projects for GSOC

2024-03-21 Thread Soumya Ranjan via Gcc
Hello, I hope this message finds you well. My name is Soumya Ranjan, and I hold a Bachelor's degree in Electrical Engineering and a Master's in Computer Engineering. I am currently working as a Firmware Engineer at Qualcomm Wireless R&D. I recently discovered your organization and the exciting GSO