From: jont@harlequin.co.uk (Jon Thackray)
Subject: gas bugs and infelicities
24 Jul 1998 19:09:05 -0700
Message-ID: <199807241029.LAA07860.cygnus.gnu-win32@zaphod.long.harlequin.co.uk>
To: gnu-win32@cygnus.com

I'm having trouble with a couple of bits of gas behaviour.

First, it doesn't recognise instructions like

sal $1, %eax

as being a special form (code in two bytes rather than three).

Secondly, rather more serious, it seems to insist in inserting
unnecessary wait instructions, eg

I code

fstsw %ax

it compiles as though I had coded

wait
fstsw %ax

This is stupid, fstsw already waits for unmasked fp exceptions to be
handled. Further, for some reason the wait it compiles is coded as

0x66 0x9b

ie it has the operand size prefix. This is also silly, as wait doesn't
have operands.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
