opengnsys_ipxe/src/arch
Michael Brown 16d95227a4 [bitops] Provide an explicit operand size for bit test instructions
Recent versions of the GNU assembler (observed with GNU as 2.35 on
Fedora 33) will produce a warning message

  Warning: no instruction mnemonic suffix given and no register
  operands; using default for `bts'

The operand size affects only the potential range for the bit number.
Since we pass the bit number as an unsigned int, it is already
constrained to 32 bits for both i386 and x86_64.

Silence the assembler warning by specifying an explicit 32-bit operand
size (and thereby matching the choice that the assembler would
otherwise make automatically).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2021-02-27 15:45:31 +00:00
..
arm [arm] Provide dummy implementations for {in,out}[s]{b,w,l} 2019-07-14 15:31:25 +01:00
arm32 [build] Fix ARM32 EFI builds with current EDK2 headers 2017-07-28 15:46:06 +01:00
arm64 [build] Work around -fPIE patched versions of gcc on all architectures 2021-02-04 02:53:25 +00:00
i386 [build] Work around -fPIE patched versions of gcc on all architectures 2021-02-04 02:53:25 +00:00
x86 [bitops] Provide an explicit operand size for bit test instructions 2021-02-27 15:45:31 +00:00
x86_64 [build] Prevent use of MMX and SSE registers 2018-03-20 22:01:08 +02:00