Project

General

Profile

Actions

Bug #12982

closed

ambiguous instructions require an explicit suffix

Added by Andy Fiddaman almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

As of version 2.35, the GNU assembler has gained a new class of warnings about instructions where the size of the operand is ambiguous and cannot be inferred. They look like:

../../i86pc/ml/locore.s:187: Warning: no instruction mnemonic suffix given and no register operands; using default for `bts'

There are a few places in the kernel where this occurs around cmp and bt[s] instructions; they need updating with an explicit suffix

In some cases, the existing assumed operand size may also not be correct, resulting in real bugs.


Files

12982_wsdiff.out (2.44 MB) 12982_wsdiff.out Andy Fiddaman, 2020-07-28 12:17 PM
Actions

Also available in: Atom PDF