www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/07/24/19:09:05

From: jont AT harlequin DOT co DOT 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 AT cygnus DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019