https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|8.5 |---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|8.4 |8.5
--- Comment #27 from Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|8.3 |8.4
--- Comment #26 from Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|8.2 |8.3
--- Comment #25 from Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Jakub Jelinek changed:
What|Removed |Added
Target Milestone|8.0 |8.2
--- Comment #24 from Jakub Jelinek
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #23 from Andrew Roberts ---
RPI Zero still looks ok with latest snapshot.
/usr/local/gcc/bin/gcc -mfpu=auto -O3 -o matrix matrix.c
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
/usr/local/gcc/bin/gcc -mcpu=native -m
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #22 from Andrew Roberts ---
The RPI Zero bug was fixed, I'm retesting with the latest snapshot (8.0.1
20180304) just to be sure it is ok. There are still a number of inconsistencies
and things which could be improved.
On Odroid-Xu4 (
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Tamar Christina changed:
What|Removed |Added
CC||tnfchris at gcc dot gnu.org
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #20 from Andrew Roberts ---
The patch in in latest snapshot is working ok on Raspberry Pi Zero. And
-help=target now returns:
/usr/local/gcc/bin/gcc -march=native -mcpu=native -mfpu=auto -Q --help=target |
grep "march\|mcpu\|mfpu"
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #19 from Richard Earnshaw ---
-m{cpu,tune,arch}=native are hosted-only flags that mean look-up the
architecture on the machine I'm running on now. They are not supported at all
on cross compilers. This is translated by the driver in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #18 from Andrew Roberts ---
Richard, I'm giving the latest snapshot a test, the armv6 version will be
ready in 16 hrs or so...
Meanwhile a question about consistency with gcc -Q --help=target,
and also what happens if you don't spec
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #17 from Richard Earnshaw ---
Author: rearnsha
Date: Fri Dec 8 11:19:20 2017
New Revision: 255504
URL: https://gcc.gnu.org/viewcvs?rev=255504&root=gcc&view=rev
Log:
[arm] PR target/83206: Make native driver select fp-capable armv6 c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Richard Earnshaw changed:
What|Removed |Added
Status|RESOLVED|NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #15 from Andrew Roberts ---
Created attachment 42792
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42792&action=edit
/proc/cpuinfo fro rpi3 (cortex a-53) on aarch64
/proc/cpuinfo fro rpi3 (cortex a-53) on aarch64
while this i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #14 from Andrew Roberts ---
Richard, I have checked with latest snapshot (20171203) and problem persists.
I think the issue is that the CPU on the original Raspberry Pi and Pi Zero is
not detected properly by gcc.
/usr/local/gcc/bi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #13 from Andrew Roberts ---
Created attachment 42791
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42791&action=edit
/proc/cpuinfo from odroid-c2 (cortex-A53) aarch64 mode
/proc/cpuinfo from odroid-c2 (cortex-A53) aarch64 mode
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #12 from Andrew Roberts ---
Created attachment 42790
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42790&action=edit
/proc/cpuinfo from Raspberry Pi 3 (cortex-A53) arm mode
/proc/cpuinfo from Raspberry Pi 3 (cortex-A53) arm mo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #11 from Andrew Roberts ---
Created attachment 42789
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42789&action=edit
/proc/cpuinfo from rpi b (arm1176jzf-s)
/proc/cpuinfo from rpi b (arm1176jzf-s)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #10 from Andrew Roberts ---
Created attachment 42788
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42788&action=edit
/proc/cpuinfo from odroid-xu4 big/little cortex-a15/cortex-a7
/proc/cpuinfo from odroid-xu4 big/little cortex
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #9 from Andrew Roberts ---
Created attachment 42787
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42787&action=edit
/proc/cpuinfo from cortex-a7 Raspberry Pi 2b v1.1
/proc/cpuinfo from cortex-a7 Raspberry Pi 2b v1.1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #8 from Richard Earnshaw ---
(In reply to Andrew Roberts from comment #7)
> I get the same thing if I just use -mcpu=native:
>
> /usr/local/gcc/bin/gcc -o matrix-v6 -mcpu=native -mfpu=auto -O3 matrix.c
> cc1: error: -mfloat-abi=hard:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #7 from Andrew Roberts ---
I get the same thing if I just use -mcpu=native:
/usr/local/gcc/bin/gcc -o matrix-v6 -mcpu=native -mfpu=auto -O3 matrix.c
cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
I realize the aarch64
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #6 from Richard Earnshaw ---
> /usr/local/gcc/bin/gcc -o matrix-v6 -march=native -mcpu=native -mtune=native
> -mfpu=auto -O3 matrix.c
> cc1: error: -mfloat-abi=hard: selected processor lacks an FPU
-mcpu=... is an alias that sets bo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #5 from Andrew Roberts ---
It looks like I was right about this all along, its just that armv6l isn't
working. armv7l seems ok:
On RaspberryPi B - ARM1176 rev 7 (0x4100b760)
cat /proc/cpuinfo
processor : 0
model name : ARM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
Richard Earnshaw changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Version|8.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #3 from Andrew Roberts ---
ok confirmed, this bug is still present on the gcc-7 branch, with the current
snapshot:
/usr/local/gcc-7.2.1/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc-7.2.1/bin/gcc
COLLECT_LTO_WRAPPER=/us
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #2 from Andrew Roberts ---
Correction:
1) This works on gcc 8 snapshot, it doesn't work on gcc-7.2.0
/usr/local/gcc-7.2.0/bin/gcc -march=native -mcpu=cortex-a53 -mfpu=auto -Ofast
-o matrix matrix.c
cc1: error: -mfloat-abi=hard: sel
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83206
--- Comment #1 from Andrew Roberts ---
This was tested using:
/usr/local/gcc/bin/gcc -v
Using built-in specs.
COLLECT_GCC=/usr/local/gcc/bin/gcc
COLLECT_LTO_WRAPPER=/usr/local/gcc-8.0.0/libexec/gcc/armv7l-unknown-linux-gnueabihf/8.0.0/lto-wrappe
28 matches
Mail list logo