Commit 89deeb3b by David S. Miller Committed by David S. Miller

Fix sparc assembler specs for supersparc and hypersparc.

gcc/

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

From-SVN: r197680
parent 42e37616
2013-04-10 David S. Miller <davem@davemloft.net> 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.def (cstore_mode): New hook.
* target.h: Include insn-codes.h * target.h: Include insn-codes.h
* targhooks.c: Likewise. * targhooks.c: Likewise.
......
...@@ -327,6 +327,8 @@ extern enum cmodel sparc_cmodel; ...@@ -327,6 +327,8 @@ extern enum cmodel sparc_cmodel;
%{mcpu=sparclite86x:-Asparclite} \ %{mcpu=sparclite86x:-Asparclite} \
%{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \ %{mcpu=f930:-Asparclite} %{mcpu=f934:-Asparclite} \
%{mcpu=v8:-Av8} \ %{mcpu=v8:-Av8} \
%{mcpu=supersparc:-Av8} \
%{mcpu=hypersparc:-Av8} \
%{mcpu=leon:-Av8} \ %{mcpu=leon:-Av8} \
%{mv8plus:-Av8plus} \ %{mv8plus:-Av8plus} \
%{mcpu=v9:-Av9} \ %{mcpu=v9:-Av9} \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment