From abe1e6b305e672d0eedeb6b52003acac658c8371 Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Sat, 25 Jul 2020 12:44:21 +0000 Subject: 12982 ambiguous instructions require an explicit suffix Reviewed by: Toomas Soome Reviewed by: John Levon Reviewed by: Robert Mustacchi Approved by: Dan McDonald --- usr/src/uts/intel/ia32/ml/float.s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr/src/uts/intel/ia32') diff --git a/usr/src/uts/intel/ia32/ml/float.s b/usr/src/uts/intel/ia32/ml/float.s index b3c4643707..807647f553 100644 --- a/usr/src/uts/intel/ia32/ml/float.s +++ b/usr/src/uts/intel/ia32/ml/float.s @@ -22,6 +22,7 @@ /* * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2018, Joyent, Inc. + * Copyright 2020 OmniOS Community Edition (OmniOSce) Association. */ /* Copyright (c) 1990, 1991 UNIX System Laboratories, Inc. */ @@ -262,7 +263,7 @@ */ ENTRY_NP(fpdisable) - STTS(%rdi) /* set TS bit in %cr0 (disable FPU) */ + STTS(%rdi) /* set TS bit in %cr0 (disable FPU) */ ret SET_SIZE(fpdisable) @@ -284,7 +285,7 @@ leaq avx_initial(%rip), %rcx xorl %edx, %edx movl $XFEATURE_AVX, %eax - bt $X86FSET_AVX, x86_featureset + btl $X86FSET_AVX, x86_featureset cmovael %edx, %eax orl $(XFEATURE_LEGACY_FP | XFEATURE_SSE), %eax xrstor (%rcx) -- cgit v1.2.3