From: naddy Date: Thu, 1 Jun 2017 12:14:48 +0000 (+0000) Subject: Remove branch prediction hint from conditional branch instruction. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ac65b426516576844ee4eade46d47d7c1bf8702b;p=openbsd Remove branch prediction hint from conditional branch instruction. These hints are not recognized by clang's builtin assembler. From the corresponding amd64 change. ok visa@ kettenis@ --- diff --git a/lib/libc/arch/i386/SYS.h b/lib/libc/arch/i386/SYS.h index 59852a449a7..3ecba9830e4 100644 --- a/lib/libc/arch/i386/SYS.h +++ b/lib/libc/arch/i386/SYS.h @@ -29,7 +29,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: SYS.h,v 1.25 2016/05/07 19:05:21 guenther Exp $ + * $OpenBSD: SYS.h,v 1.26 2017/06/01 12:14:48 naddy Exp $ */ #include @@ -89,7 +89,7 @@ movl $-1, %eax; \ movl $-1, %edx /* for lseek */ #define HANDLE_ERRNO() \ - jnc,pt 99f; \ + jnc 99f; \ SET_ERRNO(); \ 99: