1 ;;;; the VM definition of predicate VOPs for the Alpha
3 ;;;; This software is part of the SBCL system. See the README file for
6 ;;;; This software is derived from the CMU CL system, which was
7 ;;;; written at Carnegie Mellon University and released into the
8 ;;;; public domain. The software is in the public domain and is
9 ;;;; provided with absolutely no warranty. See the COPYING and CREDITS
10 ;;;; files for more information.
16 ;;; The unconditional branch, emitted when we can't drop through to
17 ;;; the desired destination. Dest is the continuation we transfer
22 (inst br zero-tn dest)))
25 ;;;; Generic conditional VOPs
27 ;;; The generic conditional branch, emitted immediately after test
28 ;;; VOPs that only set flags.
30 (define-vop (branch-if)
31 (:info dest flags not-p)
32 (:ignore dest flags not-p)
34 (error "BRANCH-IF not yet implemented")))
36 (defun convert-conditional-move-p (node dst-tn x-tn y-tn)
37 (declare (ignore node dst-tn x-tn y-tn))
44 (:args (x :scs (any-reg descriptor-reg zero null))
45 (y :scs (any-reg descriptor-reg zero null)))
47 (:temporary (:scs (non-descriptor-reg)) temp)
54 (inst beq temp target)
55 (inst bne temp target))))