PR target/52610
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Mar 2012 18:47:38 +0000 (18:47 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 24 Mar 2012 18:47:38 +0000 (18:47 +0000)
* config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185765 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/sparc/sparc.h

index afde273..24f316e 100644 (file)
@@ -1,5 +1,10 @@
 2012-03-24  Eric Botcazou  <ebotcazou@adacore.com>
 
+       PR target/52610
+       * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=leon.
+
+2012-03-24  Eric Botcazou  <ebotcazou@adacore.com>
+
        PR target/52656
        * config/sparc/sparc.c (sparc_handle_vis_mul8x16): Fix pasto.
 
index acc6be1..a1919b4 100644 (file)
@@ -329,6 +329,7 @@ extern enum cmodel sparc_cmodel;
 %{mcpu=sparclite86x:-Asparclite} \
 %{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \
 %{mcpu=v8:-Av8} \
+%{mcpu=leon:-Av8} \
 %{mv8plus:-Av8plus} \
 %{mcpu=v9:-Av9} \
 %{mcpu=ultrasparc:%{!mv8plus:-Av9a}} \