diff options
author | Richard Henderson <rth@redhat.com> | 2002-03-31 03:09:48 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-03-31 03:09:48 -0800 |
commit | a7648399b2519aa5ee3a0887a274b43b61242008 (patch) | |
tree | eb5ad486887b657692ada893a01a9b85d09cbbf4 | |
parent | adc186efab2e5fd5fa89e24ca676c5d234b54bf9 (diff) | |
download | gcc-a7648399b2519aa5ee3a0887a274b43b61242008.zip gcc-a7648399b2519aa5ee3a0887a274b43b61242008.tar.gz gcc-a7648399b2519aa5ee3a0887a274b43b61242008.tar.bz2 |
* config/alpha/alpha.md (trap): New.
From-SVN: r51649
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/config/alpha/alpha.md | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a752fc..f49d14c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -2,6 +2,8 @@ * libgcc2.c (__bb_exit_func): Make static. + * config/alpha/alpha.md (trap): New. + 2002-03-31 Richard Henderson <rth@redhat.com> * builtins.c (expand_builtin_va_arg): Give warnings not errors for diff --git a/gcc/config/alpha/alpha.md b/gcc/config/alpha/alpha.md index baaecdd..9db923c 100644 --- a/gcc/config/alpha/alpha.md +++ b/gcc/config/alpha/alpha.md @@ -5095,6 +5095,16 @@ fadd,fmul,fcpys,fdiv,fsqrt,misc,mvi,ftoi,itof,multi" "" "call_pal 0x86" [(set_attr "type" "ibr")]) + +;; BUGCHK is documented common to OSF/1 and VMS PALcode. +;; NT does not document anything at 0x81 -- presumably it would generate +;; the equivalent of SIGILL, but this isn't that important. +;; ??? Presuming unicosmk uses either OSF/1 or VMS PALcode. +(define_insn "trap" + [(trap_if (const_int 1) (const_int 0))] + "!TARGET_ABI_WINDOWS_NT" + "call_pal 0x81" + [(set_attr "type" "ibr")]) ;; Finally, we have the basic data motion insns. The byte and word insns ;; are done via define_expand. Start with the floating-point insns, since |