Fix sparc assembler specs for supersparc and hypersparc.
authorDavid S. Miller <davem@davemloft.net>
Wed, 10 Apr 2013 19:54:22 +0000 (19:54 +0000)
committerDavid S. Miller <davem@gcc.gnu.org>
Wed, 10 Apr 2013 19:54:22 +0000 (12:54 -0700)
gcc/

* config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc
or -mcpu=hypersparc.

From-SVN: r197680

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

index 1c36f91..a47947f 100644 (file)
@@ -1,5 +1,8 @@
 2013-04-10  David S. Miller  <davem@davemloft.net>
 
+       * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc
+       or -mcpu=hypersparc.
+
        * target.def (cstore_mode): New hook.
        * target.h: Include insn-codes.h
        * targhooks.c: Likewise.
index 6b02b45..c6122c1 100644 (file)
@@ -327,6 +327,8 @@ extern enum cmodel sparc_cmodel;
 %{mcpu=sparclite86x:-Asparclite} \
 %{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \
 %{mcpu=v8:-Av8} \
+%{mcpu=supersparc:-Av8} \
+%{mcpu=hypersparc:-Av8} \
 %{mcpu=leon:-Av8} \
 %{mv8plus:-Av8plus} \
 %{mcpu=v9:-Av9} \