LLVMdev Digest, Vol 98, Issue 33

Hey Cameron,

Sorry to reply this mail so late.

Recently, I tried to understand what’s the impact of the warning message
(Warning: stand-alone `data16’ prefix)

And in binutils (gas/config/tc-i386.c), I found:

if (!quiet_warnings)
{

if (t->opcode_modifier.isprefix
&& t->opcode_modifier.ignoresize)
{
/* Warn them that a data or address size prefix doesn’t
affect assembly of the next line of code. */
as_warn (_(“stand-alone `%s’ prefix”), t->name);
}
}

It looks like the `data16’ does not have any influence on the instructions followed.
My opinion is to safely ignore this warning :=D