Tidy up comment about double load opcodes in m88k/eh_common.S (and fix ;; -> ||)
authortom <tom@openbsd.org>
Thu, 22 Jun 2017 13:21:10 +0000 (13:21 +0000)
committertom <tom@openbsd.org>
Thu, 22 Jun 2017 13:21:10 +0000 (13:21 +0000)
ok miod@

sys/arch/m88k/m88k/eh_common.S

index 11844bc..8275e27 100644 (file)
@@ -1,4 +1,4 @@
-/*   $OpenBSD: eh_common.S,v 1.61 2013/09/05 20:40:32 miod Exp $       */
+/*   $OpenBSD: eh_common.S,v 1.62 2017/06/22 13:21:10 tom Exp $        */
 /*
  * Mach Operating System
  * Copyright (c) 1993-1991 Carnegie Mellon University
@@ -1264,11 +1264,11 @@ ASLOCAL(clear_dest_ssbr_bit)
         * Now see if it's a double load
         * There are three forms of double load [IMM16, scaled, unscaled],
         * which can be checked by matching against two templates:
-        *          -- 77776666555544443333222211110000 --
+        *                    -- 77776666555544443333222211110000 --
         *   if (((instruction & 11111100000000000000000000000000) ==
-        *             00010000000000000000000000000000) ;;
+        *                       00010000000000000000000000000000) ||
         *       ((instruction & 11111100000000001111110011100000) ==
-        *             11110100000000000001000000000000))
+        *                       11110100000000000001000000000000))
         *   {
         *      It's a load double, so
         *      clear two SSBR bits.