summaryrefslogtreecommitdiff
path: root/gcc/config/sparc/sparc-protos.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-25 12:42:25 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-25 12:42:25 +0000
commit9312a95655dae6767ff2c035981034ac96ebb3ea (patch)
tree13a12c95c0e35b5898cc2ae0ab7d7163c4417461 /gcc/config/sparc/sparc-protos.h
parentc8d656a4ff823bd625def53b22353776c7599c9c (diff)
downloadgcc-9312a95655dae6767ff2c035981034ac96ebb3ea.tar.gz
* sparc-protos.h (select_cc_mode): Declare.
* sparc.c (select_cc_mode): New. Handle unordered compares. (output_cbranch): Always reverse via code change. Handle unordered compares. Factor tests and string updates. * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode. (REVERSIBLE_CC_MODE): Also exclude CCFPmode. * sparc.md (bunordered, bordered): New. (bungt, bunlt, buneq, bunge, bunle): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31609 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sparc/sparc-protos.h')
-rw-r--r--gcc/config/sparc/sparc-protos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h
index ff46790feb6..c9c79a0ca36 100644
--- a/gcc/config/sparc/sparc-protos.h
+++ b/gcc/config/sparc/sparc-protos.h
@@ -77,6 +77,7 @@ extern void sparc_flat_save_restore PARAMS ((FILE *, const char *,
const char *, unsigned long));
#ifdef RTX_CODE
+extern enum machine_mode select_cc_mode PARAMS ((enum rtx_code, rtx, rtx));
/* Define the function that build the compare insn for scc and bcc. */
extern rtx gen_compare_reg PARAMS ((enum rtx_code code, rtx, rtx));
extern void sparc_emit_float_lib_cmp PARAMS ((rtx, rtx, enum rtx_code));