diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-02-27 15:05:20 +0000 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-02-27 15:45:31 +0000 |
commit | 16d95227a4b92bba068b43070545b96ce0a90e14 (patch) | |
tree | e07a225e5a96f54c2994d652090d338e22bf9e99 /src/Makefile | |
parent | b76281a8855632df7cc20ad9174e55e29dc6ce67 (diff) | |
download | ipxe-16d95227a4b92bba068b43070545b96ce0a90e14.tar.gz |
[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>
Diffstat (limited to 'src/Makefile')
0 files changed, 0 insertions, 0 deletions