* config/alpha/alpha.md (trap): New.

From-SVN: r51648
This commit is contained in:
Richard Henderson 2002-03-31 03:09:01 -08:00 committed by Richard Henderson
parent 59c5c992a8
commit 9c6d6c464c
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,8 @@
* libgcc2.c (__bb_exit_func): Make static.
* config/alpha/alpha.md (trap): New.
2002-03-31 Alexandre Oliva <aoliva@redhat.com>
* gcc.c (LIBGCC_SPEC): Folded %L and duplicate %G here...

View File

@ -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