: bootstrap
Assignee: unassigned at gcc dot gnu.org
Reporter: bart.vanassche at gmail dot com
Target Milestone: ---
Created attachment 59559
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59559&action=edit
build-gcc-hppa
The attached script builds a hppa cross-compil
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|
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: bart.vanassche at gmail dot com
Target Milestone: ---
Created attachment 51444
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51444&action=edit
Test program that illustrates th
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52925
Bart Van Assche changed:
What|Removed |Added
CC||bart.vanassche at gmail dot
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51504
--- Comment #1 from Bart Van Assche
2011-12-11 20:26:47 UTC ---
Created attachment 26049
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26049
Detailed DRD output for the test program
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51504
Bug #: 51504
Summary: Data race hunting instructions in manual do not work
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
11 matches
Mail list logo