https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117488
Bug ID: 117488
Summary: Building a gcc cross-compiler for hppa fails
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: boo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
--- Comment #13 from Bart Van Assche ---
Hi H.J. Lu, thank you for having taken a look. I would like to try your patch.
However, I'm not a gcc developer so I don't have a gcc tree checked out on my
development workstation. It may take some time
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
--- Comment #9 from Bart Van Assche ---
Hmm ... isn't movups a floating-point instruction? I want to avoid floating
point instructions since my understanding is that it is not allowed to use
these in kernel code. See e.g.
https://stackoverflow.c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
--- Comment #7 from Bart Van Assche ---
Initializing small data structures via structure assignment is a common
approach in the Linux kernel.
This is the code gcc generates with the no-sse option applied:
(gdb) disas bio_init3
Dump of assemble
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
--- Comment #5 from Bart Van Assche ---
Please note that bio_init3() does not use atomic_set() but ATOMIC_INIT(). The
definition of ATOMIC_INIT() is as follows:
#define ATOMIC_INIT(v) (atomic_t){.counter = (v)}
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
--- Comment #3 from Bart Van Assche ---
Thanks for the quick feedback. I have modified the test program and added
target("no-sse") to the bio_init[123]() functions. With that change applied the
results are as follows:
$ gcc -O2 -o bio_init bio_
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
Bart Van Assche changed:
What|Removed |Added
Attachment #51444|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102294
Bug ID: 102294
Summary: structure assignment slower than memberwise
initialization
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity: normal