Commit c6243b4c by Geoffrey Keating Committed by Geoffrey Keating

In ChangeLog: 2001-11-08 Geoffrey Keating <geoffk@redhat.com>

In ChangeLog:
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

	* config.sub: Import from master sources, rev. 1.230.
	* MAINTAINERS: Change 'stormy16' to 'xstormy16'.

Index: gcc/ChangeLog
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

	* config.gcc: Rename stormy16 to xstormy16.
	* config/stormy16/stormy-abi: Likewise.
	* config/stormy16/stormy16-protos.h: Likewise.
	* config/stormy16/stormy16.c: Likewise.
	* config/stormy16/stormy16.h: Likewise.
	* config/stormy16/stormy16.md: Likewise.

Index: gcc/testsuite/ChangeLog
2001-11-08  Geoffrey Keating  <geoffk@redhat.com>

	* g++.old-deja/g++.bugs/900227_01.C: Change stormy16 to xstormy16.
	* g++.old-deja/g++.eh/badalloc1.C: Change stormy16 to xstormy16.
	* g++.old-deja/g++.mike/ns15.C: Change stormy16 to xstormy16.
	* g++.old-deja/g++.pt/crash16.C: Change stormy16 to xstormy16.
	* gcc.c-torture/compile/961203-1.x: Change stormy16 to xstormy16.
	* gcc.c-torture/compile/980506-1.x: Change stormy16 to xstormy16.
	* gcc.c-torture/compile/990617-1.x: Change stormy16 to xstormy16.

From-SVN: r46867
parent 78571511
2001-11-08 Geoffrey Keating <geoffk@redhat.com>
* config.sub: Import from master sources, rev. 1.230.
* MAINTAINERS: Change 'stormy16' to 'xstormy16'.
2001-11-07 Laurent Guerby <guerby@acm.org> 2001-11-07 Laurent Guerby <guerby@acm.org>
* MAINTAINERS (Write After Approval): Add self. * MAINTAINERS (Write After Approval): Add self.
......
...@@ -43,7 +43,7 @@ alpha port Richard Henderson rth@redhat.com ...@@ -43,7 +43,7 @@ alpha port Richard Henderson rth@redhat.com
sparc port Richard Henderson rth@redhat.com sparc port Richard Henderson rth@redhat.com
sparc port David S. Miller davem@redhat.com sparc port David S. Miller davem@redhat.com
sparc port Jakub Jelinek jakub@redhat.com sparc port Jakub Jelinek jakub@redhat.com
stormy16 port Geoffrey Keating geoffk@redhat.com xstormy16 port Geoffrey Keating geoffk@redhat.com
x86 ports Stan Cox scox@redhat.com x86 ports Stan Cox scox@redhat.com
c4x port Michael Hayes m.hayes@elec.canterbury.ac.nz c4x port Michael Hayes m.hayes@elec.canterbury.ac.nz
arc port Richard Kenner kenner@nyu.edu arc port Richard Kenner kenner@nyu.edu
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
# Free Software Foundation, Inc. # Free Software Foundation, Inc.
timestamp='2001-10-05' timestamp='2001-11-08'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software # The presence of a machine in this file suggests that SOME GNU software
...@@ -245,14 +245,13 @@ case $basic_machine in ...@@ -245,14 +245,13 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \ | pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \ | pyramid \
| s390 | s390x \
| sh | sh[34] | sh[34]eb | shbe | shle \ | sh | sh[34] | sh[34]eb | shbe | shle \
| sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \ | sparc | sparc64 | sparclet | sparclite | sparcv9 | sparcv9b \
| stormy16 | strongarm \ | strongarm \
| tahoe | thumb | tic80 | tron \ | tahoe | thumb | tic80 | tron \
| v850 \ | v850 \
| we32k \ | we32k \
| x86 | xscale \ | x86 | xscale | xstormy16 \
| z8k) | z8k)
basic_machine=$basic_machine-unknown basic_machine=$basic_machine-unknown
;; ;;
...@@ -304,14 +303,13 @@ case $basic_machine in ...@@ -304,14 +303,13 @@ case $basic_machine in
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \ | pyramid-* \
| romp-* | rs6000-* \ | romp-* | rs6000-* \
| s390-* | s390x-* \
| sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \ | sh-* | sh[34]-* | sh[34]eb-* | shbe-* | shle-* \
| sparc-* | sparc64-* | sparc86x-* | sparclite-* \ | sparc-* | sparc64-* | sparc86x-* | sparclite-* \
| sparcv9-* | sparcv9b-* | stormy16-* | strongarm-* | sv1-* \ | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* \
| t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \ | t3e-* | tahoe-* | thumb-* | tic30-* | tic54x-* | tic80-* | tron-* \
| v850-* | vax-* \ | v850-* | vax-* \
| we32k-* \ | we32k-* \
| x86-* | x86_64-* | xmp-* | xps100-* | xscale-* \ | x86-* | x86_64-* | xmp-* | xps100-* | xscale-* | xstormy16-* \
| ymp-* \ | ymp-* \
| z8k-*) | z8k-*)
;; ;;
...@@ -786,6 +784,12 @@ case $basic_machine in ...@@ -786,6 +784,12 @@ case $basic_machine in
rtpc | rtpc-*) rtpc | rtpc-*)
basic_machine=romp-ibm basic_machine=romp-ibm
;; ;;
s390 | s390-*)
basic_machine=s390-ibm
;;
s390x | s390x-*)
basic_machine=s390x-ibm
;;
sa29200) sa29200)
basic_machine=a29k-amd basic_machine=a29k-amd
os=-udi os=-udi
...@@ -1070,7 +1074,7 @@ case $os in ...@@ -1070,7 +1074,7 @@ case $os in
| -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \ | -interix* | -uwin* | -rhapsody* | -darwin* | -opened* \
| -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
| -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
| -os2* | -vos*) | -os2* | -vos* | -palmos* | -uclinux*)
# Remember, each alternative MUST END IN *, to match a version number. # Remember, each alternative MUST END IN *, to match a version number.
;; ;;
-qnx*) -qnx*)
......
2001-11-08 Geoffrey Keating <geoffk@redhat.com>
* config.gcc: Rename stormy16 to xstormy16.
* config/stormy16/stormy-abi: Likewise.
* config/stormy16/stormy16-protos.h: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/stormy16/stormy16.h: Likewise.
* config/stormy16/stormy16.md: Likewise.
2001-11-06 Geoffrey Keating <geoffk@redhat.com>
* tree.h (TYPE_VOLATILE): Add enable-checking code.
(TYPE_READONLY): Likewise.
Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> Thu Nov 8 18:00:55 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* reload1.c (reload): Don't delete equiv insn if can throw. * reload1.c (reload): Don't delete equiv insn if can throw.
......
Stormy16 ABI xStormy16 ABI
************ ************
!!!!! NOTE !!!!! !!!!! NOTE !!!!!
...@@ -114,10 +114,10 @@ ELF File Format ...@@ -114,10 +114,10 @@ ELF File Format
ELF file header ELF file header
--------------- ---------------
Stormy16 ELF files are distinguished by the value EM_STORMY16 in xStormy16 ELF files are distinguished by the value EM_XSTORMY16 in
the e_machine field of the ELF file header: the e_machine field of the ELF file header:
#define EM_STORMY16 0xad45 #define EM_XSTORMY16 0xad45
DWARF Register Number Mapping DWARF Register Number Mapping
----------------------------- -----------------------------
...@@ -131,17 +131,17 @@ RELA relocs are used exclusively. The relocation types defined are: ...@@ -131,17 +131,17 @@ RELA relocs are used exclusively. The relocation types defined are:
Name Value Field Calculation Overflow Name Value Field Calculation Overflow
---------------------------------------------------------------- ----------------------------------------------------------------
R_STORMY16_NONE 0 none none none R_XSTORMY16_NONE 0 none none none
R_STORMY16_32 1 32 S + A none R_XSTORMY16_32 1 32 S + A none
R_STORMY16_16 2 16 S + A unsigned R_XSTORMY16_16 2 16 S + A unsigned
R_STORMY16_8 3 8 S + A unsigned R_XSTORMY16_8 3 8 S + A unsigned
R_STORMY16_PC32 4 32 S + A - P none R_XSTORMY16_PC32 4 32 S + A - P none
R_STORMY16_PC16 5 16 S + A - P signed R_XSTORMY16_PC16 5 16 S + A - P signed
R_STORMY16_PC8 6 8 S + A - P signed R_XSTORMY16_PC8 6 8 S + A - P signed
R_STORMY16_REL_12 7 16:12:0 S + A - P signed R_XSTORMY16_REL_12 7 16:12:0 S + A - P signed
R_STORMY16_24 8 32:23:1 (S + A) >> 1 unsigned R_XSTORMY16_24 8 32:23:1 (S + A) >> 1 unsigned
R_STORMY16_GNU_VTINHERIT 9 n/a n/a n/a R_XSTORMY16_GNU_VTINHERIT 9 n/a n/a n/a
R_STORMY16_GNU_VTENTRY 10 n/a n/a n/a R_XSTORMY16_GNU_VTENTRY 10 n/a n/a n/a
In the 'Calculation' column, 'S' is the value of the symbol to which In the 'Calculation' column, 'S' is the value of the symbol to which
the reloc refers, 'A' is the addend, and 'P' represents the place of the reloc refers, 'A' is the addend, and 'P' represents the place of
......
/* Prototypes for exported functions defined in stormy16.c /* Prototypes for exported functions defined in xstormy16.c
Copyright (C) 2000, 2001 Free Software Foundation, Inc. Copyright (C) 2000, 2001 Free Software Foundation, Inc.
Contributed by Red Hat, Inc. Contributed by Red Hat, Inc.
...@@ -21,71 +21,71 @@ Boston, MA 02111-1307, USA. */ ...@@ -21,71 +21,71 @@ Boston, MA 02111-1307, USA. */
extern struct stormy16_stack_layout extern struct xstormy16_stack_layout
stormy16_compute_stack_layout PARAMS((void)); xstormy16_compute_stack_layout PARAMS((void));
extern void stormy16_expand_prologue PARAMS ((void)); extern void xstormy16_expand_prologue PARAMS ((void));
extern void stormy16_expand_epilogue PARAMS ((void)); extern void xstormy16_expand_epilogue PARAMS ((void));
extern int stormy16_initial_elimination_offset PARAMS ((int, int)); extern int xstormy16_initial_elimination_offset PARAMS ((int, int));
extern int direct_return PARAMS ((void)); extern int direct_return PARAMS ((void));
extern int stormy16_interrupt_function_p PARAMS ((void)); extern int xstormy16_interrupt_function_p PARAMS ((void));
extern int stormy16_epilogue_uses PARAMS ((int)); extern int xstormy16_epilogue_uses PARAMS ((int));
#if defined (TREE_CODE) #if defined (TREE_CODE)
# if defined (HAVE_MACHINE_MODES) # if defined (HAVE_MACHINE_MODES)
extern CUMULATIVE_ARGS stormy16_function_arg_advance extern CUMULATIVE_ARGS xstormy16_function_arg_advance
PARAMS ((CUMULATIVE_ARGS, enum machine_mode, tree, int)); PARAMS ((CUMULATIVE_ARGS, enum machine_mode, tree, int));
# endif # endif
extern void stormy16_setup_incoming_varargs extern void xstormy16_setup_incoming_varargs
PARAMS ((CUMULATIVE_ARGS, int, tree, int *)); PARAMS ((CUMULATIVE_ARGS, int, tree, int *));
extern tree stormy16_build_va_list PARAMS ((void)); extern tree xstormy16_build_va_list PARAMS ((void));
extern void stormy16_encode_section_info PARAMS ((tree)); extern void xstormy16_encode_section_info PARAMS ((tree));
#endif #endif
#if defined (TREE_CODE) && defined (RTX_CODE) #if defined (TREE_CODE) && defined (RTX_CODE)
extern void stormy16_expand_builtin_va_start PARAMS ((int, tree, rtx)); extern void xstormy16_expand_builtin_va_start PARAMS ((int, tree, rtx));
extern rtx stormy16_expand_builtin_va_arg PARAMS ((tree, tree)); extern rtx xstormy16_expand_builtin_va_arg PARAMS ((tree, tree));
extern void stormy16_initialize_trampoline PARAMS ((rtx, rtx, rtx)); extern void xstormy16_initialize_trampoline PARAMS ((rtx, rtx, rtx));
extern rtx stormy16_function_value PARAMS ((tree, tree)); extern rtx xstormy16_function_value PARAMS ((tree, tree));
extern void stormy16_asm_output_mi_thunk PARAMS ((FILE *, tree, int, tree)); extern void xstormy16_asm_output_mi_thunk PARAMS ((FILE *, tree, int, tree));
#endif #endif
#ifdef RTX_CODE #ifdef RTX_CODE
extern void stormy16_emit_cbranch PARAMS ((enum rtx_code, rtx)); extern void xstormy16_emit_cbranch PARAMS ((enum rtx_code, rtx));
extern char * stormy16_output_cbranch_hi PARAMS ((rtx, const char *, int, extern char * xstormy16_output_cbranch_hi PARAMS ((rtx, const char *, int,
rtx)); rtx));
extern char * stormy16_output_cbranch_si PARAMS ((rtx, const char *, int, extern char * xstormy16_output_cbranch_si PARAMS ((rtx, const char *, int,
rtx)); rtx));
extern int stormy16_mode_dependent_address_p PARAMS ((rtx)); extern int xstormy16_mode_dependent_address_p PARAMS ((rtx));
extern int stormy16_extra_constraint_p PARAMS ((rtx, int)); extern int xstormy16_extra_constraint_p PARAMS ((rtx, int));
extern void stormy16_print_operand PARAMS ((FILE *, rtx, int)); extern void xstormy16_print_operand PARAMS ((FILE *, rtx, int));
extern void stormy16_print_operand_address PARAMS ((FILE *, rtx)); extern void xstormy16_print_operand_address PARAMS ((FILE *, rtx));
extern void stormy16_expand_casesi PARAMS ((rtx, rtx, rtx, rtx, rtx)); extern void xstormy16_expand_casesi PARAMS ((rtx, rtx, rtx, rtx, rtx));
extern void stormy16_output_addr_vec PARAMS ((FILE *, rtx, rtx)); extern void xstormy16_output_addr_vec PARAMS ((FILE *, rtx, rtx));
extern void stormy16_expand_call PARAMS ((rtx, rtx, rtx)); extern void xstormy16_expand_call PARAMS ((rtx, rtx, rtx));
#endif #endif
#if defined (HAVE_MACHINE_MODES) && defined (RTX_CODE) #if defined (HAVE_MACHINE_MODES) && defined (RTX_CODE)
extern int stormy16_ineqsi_operator PARAMS ((rtx, enum machine_mode)); extern int xstormy16_ineqsi_operator PARAMS ((rtx, enum machine_mode));
extern int equality_operator PARAMS ((rtx, enum machine_mode)); extern int equality_operator PARAMS ((rtx, enum machine_mode));
extern int inequality_operator PARAMS ((rtx, enum machine_mode)); extern int inequality_operator PARAMS ((rtx, enum machine_mode));
extern void stormy16_split_cbranch PARAMS ((enum machine_mode, extern void xstormy16_split_cbranch PARAMS ((enum machine_mode,
rtx, rtx, rtx, rtx)); rtx, rtx, rtx, rtx));
extern int short_memory_operand PARAMS ((rtx, enum machine_mode)); extern int short_memory_operand PARAMS ((rtx, enum machine_mode));
extern enum reg_class stormy16_secondary_reload_class extern enum reg_class xstormy16_secondary_reload_class
PARAMS ((enum reg_class, enum machine_mode, rtx)); PARAMS ((enum reg_class, enum machine_mode, rtx));
extern int stormy16_carry_plus_operand PARAMS ((rtx, enum machine_mode)); extern int xstormy16_carry_plus_operand PARAMS ((rtx, enum machine_mode));
extern enum reg_class stormy16_preferred_reload_class extern enum reg_class xstormy16_preferred_reload_class
PARAMS ((rtx, enum reg_class)); PARAMS ((rtx, enum reg_class));
extern int stormy16_legitimate_address_p extern int xstormy16_legitimate_address_p
PARAMS ((enum machine_mode, rtx, int)); PARAMS ((enum machine_mode, rtx, int));
extern void stormy16_split_move PARAMS ((enum machine_mode, rtx, rtx)); extern void xstormy16_split_move PARAMS ((enum machine_mode, rtx, rtx));
extern void stormy16_expand_move PARAMS ((enum machine_mode, rtx, rtx)); extern void xstormy16_expand_move PARAMS ((enum machine_mode, rtx, rtx));
extern void stormy16_expand_arith PARAMS ((enum machine_mode, enum rtx_code, extern void xstormy16_expand_arith PARAMS ((enum machine_mode, enum rtx_code,
rtx, rtx, rtx, rtx)); rtx, rtx, rtx, rtx));
extern int shift_operator PARAMS ((rtx, enum machine_mode)); extern int shift_operator PARAMS ((rtx, enum machine_mode));
extern const char * stormy16_output_shift PARAMS ((enum machine_mode, extern const char * xstormy16_output_shift PARAMS ((enum machine_mode,
enum rtx_code, enum rtx_code,
rtx, rtx, rtx)); rtx, rtx, rtx));
#endif #endif
......
;; STORMY16 Machine description template ;; XSTORMY16 Machine description template
;; Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc. ;; Copyright (C) 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
;; Contributed by Red Hat, Inc. ;; Contributed by Red Hat, Inc.
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
[(set (match_operand:QI 0 "nonimmediate_operand" "") [(set (match_operand:QI 0 "nonimmediate_operand" "")
(match_operand:QI 1 "general_operand" ""))] (match_operand:QI 1 "general_operand" ""))]
"" ""
"{ stormy16_expand_move (QImode, operands[0], operands[1]); DONE; }") "{ xstormy16_expand_move (QImode, operands[0], operands[1]); DONE; }")
(define_insn "*movqi_internal" (define_insn "*movqi_internal"
[(set (match_operand:QI 0 "nonimmediate_operand" "=r,Q,r,m,e,e,T,r,S") [(set (match_operand:QI 0 "nonimmediate_operand" "=r,Q,r,m,e,e,T,r,S")
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
[(set (match_operand:HI 0 "nonimmediate_operand" "") [(set (match_operand:HI 0 "nonimmediate_operand" "")
(match_operand:HI 1 "general_operand" ""))] (match_operand:HI 1 "general_operand" ""))]
"" ""
"{ stormy16_expand_move (HImode, operands[0], operands[1]); DONE; }") "{ xstormy16_expand_move (HImode, operands[0], operands[1]); DONE; }")
(define_insn "*movhi_internal" (define_insn "*movhi_internal"
[(set (match_operand:HI 0 "nonimmediate_operand" "=r,Q,r,m,e,e,T,r,S") [(set (match_operand:HI 0 "nonimmediate_operand" "=r,Q,r,m,e,e,T,r,S")
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
[(set (match_operand:SI 0 "nonimmediate_operand" "") [(set (match_operand:SI 0 "nonimmediate_operand" "")
(match_operand:SI 1 "general_operand" ""))] (match_operand:SI 1 "general_operand" ""))]
"" ""
"{ stormy16_expand_move (SImode, operands[0], operands[1]); DONE; }") "{ xstormy16_expand_move (SImode, operands[0], operands[1]); DONE; }")
(define_insn_and_split "*movsi_internal" (define_insn_and_split "*movsi_internal"
[(set (match_operand:SI 0 "nonimmediate_operand" "=r,Q,r,m,e,&e,e,r,S") [(set (match_operand:SI 0 "nonimmediate_operand" "=r,Q,r,m,e,&e,e,r,S")
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
"#" "#"
"reload_completed" "reload_completed"
[(pc)] [(pc)]
"{ stormy16_split_move (SImode, operands[0], operands[1]); DONE; }" "{ xstormy16_split_move (SImode, operands[0], operands[1]); DONE; }"
[(set_attr_alternative "length" [(set_attr_alternative "length"
[(const_int 4) [(const_int 4)
(const_int 4) (const_int 4)
...@@ -250,7 +250,7 @@ ...@@ -250,7 +250,7 @@
; shows it how to place the register in RTL to make the addition work. ; shows it how to place the register in RTL to make the addition work.
(define_expand "reload_inhi" (define_expand "reload_inhi"
[(parallel [(set (match_operand:HI 0 "register_operand" "=r") [(parallel [(set (match_operand:HI 0 "register_operand" "=r")
(match_operand:HI 1 "stormy16_carry_plus_operand" "")) (match_operand:HI 1 "xstormy16_carry_plus_operand" ""))
(clobber (match_operand:BI 2 "" "=&y"))])] (clobber (match_operand:BI 2 "" "=&y"))])]
"" ""
"if (! rtx_equal_p (operands[0], XEXP (operands[1], 0))) "if (! rtx_equal_p (operands[0], XEXP (operands[1], 0)))
...@@ -501,7 +501,7 @@ ...@@ -501,7 +501,7 @@
"#" "#"
"reload_completed" "reload_completed"
[(pc)] [(pc)]
"{ stormy16_expand_arith (SImode, PLUS, operands[0], operands[1], "{ xstormy16_expand_arith (SImode, PLUS, operands[0], operands[1],
operands[2], operands[3]); DONE; } " operands[2], operands[3]); DONE; } "
[(set_attr "length" "4")]) [(set_attr "length" "4")])
...@@ -515,7 +515,7 @@ ...@@ -515,7 +515,7 @@
"#" "#"
"reload_completed" "reload_completed"
[(pc)] [(pc)]
"{ stormy16_expand_arith (SImode, MINUS, operands[0], operands[1], "{ xstormy16_expand_arith (SImode, MINUS, operands[0], operands[1],
operands[2], operands[3]); DONE; } " operands[2], operands[3]); DONE; } "
[(set_attr "length" "4")]) [(set_attr "length" "4")])
...@@ -523,7 +523,7 @@ ...@@ -523,7 +523,7 @@
[(set (match_operand:SI 0 "register_operand" "") [(set (match_operand:SI 0 "register_operand" "")
(neg:SI (match_operand:SI 1 "register_operand" "")))] (neg:SI (match_operand:SI 1 "register_operand" "")))]
"" ""
"{ stormy16_expand_arith (SImode, NEG, operands[0], const0_rtx, "{ xstormy16_expand_arith (SImode, NEG, operands[0], const0_rtx,
operands[1], gen_reg_rtx (BImode)); DONE; }") operands[1], gen_reg_rtx (BImode)); DONE; }")
;; :::::::::::::::::::: ;; ::::::::::::::::::::
...@@ -573,7 +573,7 @@ ...@@ -573,7 +573,7 @@
(clobber (match_operand:BI 3 "register_operand" "=y,y")) (clobber (match_operand:BI 3 "register_operand" "=y,y"))
(clobber (match_operand:HI 4 "" "=X,r"))] (clobber (match_operand:HI 4 "" "=X,r"))]
"" ""
"* return stormy16_output_shift (SImode, GET_CODE (operands[5]), "* return xstormy16_output_shift (SImode, GET_CODE (operands[5]),
operands[0], operands[2], operands[4]);" operands[0], operands[2], operands[4]);"
[(set_attr "length" "6,10") [(set_attr "length" "6,10")
(set_attr "psw_operand" "clobber,clobber")]) (set_attr "psw_operand" "clobber,clobber")])
...@@ -596,8 +596,8 @@ ...@@ -596,8 +596,8 @@
"" ""
" "
{ {
stormy16_compare_op0 = operands[0]; xstormy16_compare_op0 = operands[0];
stormy16_compare_op1 = operands[1]; xstormy16_compare_op1 = operands[1];
DONE; DONE;
}") }")
...@@ -610,8 +610,8 @@ ...@@ -610,8 +610,8 @@
"" ""
" "
{ {
stormy16_compare_op0 = operands[0]; xstormy16_compare_op0 = operands[0];
stormy16_compare_op1 = operands[1]; xstormy16_compare_op1 = operands[1];
DONE; DONE;
}") }")
...@@ -625,52 +625,52 @@ ...@@ -625,52 +625,52 @@
(define_expand "beq" (define_expand "beq"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (EQ, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (EQ, operands[0]); DONE; }")
(define_expand "bne" (define_expand "bne"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (NE, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (NE, operands[0]); DONE; }")
(define_expand "bge" (define_expand "bge"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (GE, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (GE, operands[0]); DONE; }")
(define_expand "bgt" (define_expand "bgt"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (GT, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (GT, operands[0]); DONE; }")
(define_expand "ble" (define_expand "ble"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (LE, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (LE, operands[0]); DONE; }")
(define_expand "blt" (define_expand "blt"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (LT, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (LT, operands[0]); DONE; }")
(define_expand "bgeu" (define_expand "bgeu"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (GEU, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (GEU, operands[0]); DONE; }")
(define_expand "bgtu" (define_expand "bgtu"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (GTU, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (GTU, operands[0]); DONE; }")
(define_expand "bleu" (define_expand "bleu"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (LEU, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (LEU, operands[0]); DONE; }")
(define_expand "bltu" (define_expand "bltu"
[(use (match_operand 0 "" ""))] [(use (match_operand 0 "" ""))]
"" ""
"{ stormy16_emit_cbranch (LTU, operands[0]); DONE; }") "{ xstormy16_emit_cbranch (LTU, operands[0]); DONE; }")
(define_insn "*cbranchhi" (define_insn "*cbranchhi"
...@@ -686,7 +686,7 @@ ...@@ -686,7 +686,7 @@
"" ""
"* "*
{ {
return stormy16_output_cbranch_hi (operands[1], \"%l0\", 0, insn); return xstormy16_output_cbranch_hi (operands[1], \"%l0\", 0, insn);
}" }"
[(set_attr "branch_class" "bcc12") [(set_attr "branch_class" "bcc12")
(set_attr "psw_operand" "0,0,1")]) (set_attr "psw_operand" "0,0,1")])
...@@ -704,7 +704,7 @@ ...@@ -704,7 +704,7 @@
"" ""
"* "*
{ {
return stormy16_output_cbranch_hi (operands[1], \"%l0\", 1, insn); return xstormy16_output_cbranch_hi (operands[1], \"%l0\", 1, insn);
}" }"
[(set_attr "branch_class" "bcc12") [(set_attr "branch_class" "bcc12")
(set_attr "psw_operand" "0,0,1")]) (set_attr "psw_operand" "0,0,1")])
...@@ -725,14 +725,14 @@ ...@@ -725,14 +725,14 @@
"" ""
"* "*
{ {
return stormy16_output_cbranch_si (operands[1], \"%l0\", 0, insn); return xstormy16_output_cbranch_si (operands[1], \"%l0\", 0, insn);
}" }"
[(set_attr "branch_class" "bcc8p2") [(set_attr "branch_class" "bcc8p2")
(set_attr "psw_operand" "clobber")]) (set_attr "psw_operand" "clobber")])
(define_insn_and_split "*ineqbranchsi" (define_insn_and_split "*ineqbranchsi"
[(set (pc) [(set (pc)
(if_then_else (match_operator:SI 1 "stormy16_ineqsi_operator" (if_then_else (match_operator:SI 1 "xstormy16_ineqsi_operator"
[(match_operand:SI 2 "register_operand" [(match_operand:SI 2 "register_operand"
"+r") "+r")
(match_operand:SI 3 "nonmemory_operand" (match_operand:SI 3 "nonmemory_operand"
...@@ -753,13 +753,13 @@ ...@@ -753,13 +753,13 @@
"#" "#"
"reload_completed" "reload_completed"
[(pc)] [(pc)]
"{ stormy16_split_cbranch (SImode, operands[0], operands[1], operands[2], "{ xstormy16_split_cbranch (SImode, operands[0], operands[1], operands[2],
operands[4]); DONE; }" operands[4]); DONE; }"
[(set_attr "length" "8")]) [(set_attr "length" "8")])
(define_insn "*ineqbranch_1" (define_insn "*ineqbranch_1"
[(set (pc) [(set (pc)
(if_then_else (match_operator:HI 5 "stormy16_ineqsi_operator" (if_then_else (match_operator:HI 5 "xstormy16_ineqsi_operator"
[(minus:HI (match_operand:HI 1 "register_operand" [(minus:HI (match_operand:HI 1 "register_operand"
"T,r,r") "T,r,r")
(zero_extend:HI (match_operand:BI 4 (zero_extend:HI (match_operand:BI 4
...@@ -775,7 +775,7 @@ ...@@ -775,7 +775,7 @@
"" ""
"* "*
{ {
return stormy16_output_cbranch_si (operands[5], \"%l0\", 0, insn); return xstormy16_output_cbranch_si (operands[5], \"%l0\", 0, insn);
}" }"
[(set_attr "branch_class" "bcc8p2,bcc8p2,bcc8p4") [(set_attr "branch_class" "bcc8p2,bcc8p2,bcc8p4")
(set_attr "psw_operand" "2,2,2")]) (set_attr "psw_operand" "2,2,2")])
...@@ -802,7 +802,7 @@ ...@@ -802,7 +802,7 @@
(match_operand 1 "" "")) (match_operand 1 "" ""))
(use (match_operand 2 "immediate_operand" ""))] (use (match_operand 2 "immediate_operand" ""))]
"" ""
"stormy16_expand_call (NULL_RTX, operands[0], operands[1]); DONE;") "xstormy16_expand_call (NULL_RTX, operands[0], operands[1]); DONE;")
;; Subroutine call instruction returning a value. Operand 0 is the hard ;; Subroutine call instruction returning a value. Operand 0 is the hard
;; register in which the value is returned. There are three more operands, the ;; register in which the value is returned. There are three more operands, the
...@@ -817,7 +817,7 @@ ...@@ -817,7 +817,7 @@
(match_operand:SI 2 "" ""))) (match_operand:SI 2 "" "")))
(use (match_operand 3 "immediate_operand" ""))] (use (match_operand 3 "immediate_operand" ""))]
"" ""
"stormy16_expand_call (operands[0], operands[1], operands[2]); DONE;") "xstormy16_expand_call (operands[0], operands[1], operands[2]); DONE;")
(define_insn "*call_internal" (define_insn "*call_internal"
[(call (mem:HI (match_operand:HI 0 "nonmemory_operand" "i,r")) [(call (mem:HI (match_operand:HI 0 "nonmemory_operand" "i,r"))
...@@ -867,7 +867,7 @@ ...@@ -867,7 +867,7 @@
"" ""
"* "*
{ {
return stormy16_output_cbranch_hi (NULL_RTX, \"%l0\", 0, insn); return xstormy16_output_cbranch_hi (NULL_RTX, \"%l0\", 0, insn);
}" }"
[(set_attr "branch_class" "br12") [(set_attr "branch_class" "br12")
(set_attr "psw_operand" "nop")]) (set_attr "psw_operand" "nop")])
...@@ -898,7 +898,7 @@ ...@@ -898,7 +898,7 @@
"" ""
" "
{ {
stormy16_expand_casesi (operands[0], operands[1], operands[2], xstormy16_expand_casesi (operands[0], operands[1], operands[2],
operands[3], operands[4]); operands[3], operands[4]);
DONE; DONE;
}") }")
...@@ -929,7 +929,7 @@ ...@@ -929,7 +929,7 @@
"" ""
" "
{ {
stormy16_expand_prologue (); xstormy16_expand_prologue ();
DONE; DONE;
}") }")
...@@ -945,7 +945,7 @@ ...@@ -945,7 +945,7 @@
"" ""
" "
{ {
stormy16_expand_epilogue (); xstormy16_expand_epilogue ();
DONE; DONE;
}") }")
......
2001-11-08 Geoffrey Keating <geoffk@redhat.com>
* g++.old-deja/g++.bugs/900227_01.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.eh/badalloc1.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.mike/ns15.C: Change stormy16 to xstormy16.
* g++.old-deja/g++.pt/crash16.C: Change stormy16 to xstormy16.
* gcc.c-torture/compile/961203-1.x: Change stormy16 to xstormy16.
* gcc.c-torture/compile/980506-1.x: Change stormy16 to xstormy16.
* gcc.c-torture/compile/990617-1.x: Change stormy16 to xstormy16.
2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk> 2001-11-08 Neil Booth <neil@daikokuya.demon.co.uk>
* g++.dg/warn/Wshadow-1.C: New tests. * g++.dg/warn/Wshadow-1.C: New tests.
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
int main (); int main ();
short s = (short) &main; // WARNING - small integer XFAIL h8*-*-* stormy16-*-* short s = (short) &main; // WARNING - small integer XFAIL h8*-*-* xstormy16-*-*
char c = (char) &main; // WARNING - small integer char c = (char) &main; // WARNING - small integer
int main () { return 0; } int main () { return 0; }
// excess errors test - XFAIL stormy16-*-* // excess errors test - XFAIL xstormy16-*-*
// Copyright (C) 2000 Free Software Foundation, Inc. // Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 6 June 2000 <nathan@codesourcery.com> // Contributed by Nathan Sidwell 6 June 2000 <nathan@codesourcery.com>
......
// Build don't link: // Build don't link:
// excess errors test - XFAIL stormy16-*-* // excess errors test - XFAIL xstormy16-*-*
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
......
// Build don't link: // Build don't link:
// Special g++ Options: // Special g++ Options:
// excess errors test - XFAIL stormy16-*-* // excess errors test - XFAIL xstormy16-*-*
extern "C" void qsort(void *base, __SIZE_TYPE__ nmemb, __SIZE_TYPE__ size, extern "C" void qsort(void *base, __SIZE_TYPE__ nmemb, __SIZE_TYPE__ size,
int (*compar)(const void *, const void *)); int (*compar)(const void *, const void *));
......
# The structure is too large for the stormy16 - won't fit in 16 bits. # The structure is too large for the xstormy16 - won't fit in 16 bits.
if { [istarget "stormy16-*-*"] } { if { [istarget "xstormy16-*-*"] } {
return 1; return 1;
} }
......
# The arrays are too large for the stormy16 - won't fit in 16 bits. # The arrays are too large for the xstormy16 - won't fit in 16 bits.
if { [istarget "stormy16-*-*"] } { if { [istarget "xstormy16-*-*"] } {
return 1; return 1;
} }
......
# 0x70000000 is too large a constant to become a pointer on stormy16. # 0x70000000 is too large a constant to become a pointer on xstormy16.
if { [istarget "stormy16-*-*"] } { if { [istarget "xstormy16-*-*"] } {
return 1; return 1;
} }
......
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