Subject: spllower() assembly oddity
To: None <port-amd64@NetBSD.org>
From: None <jakllsch@kollasch.net>
List: port-amd64
Date: 12/09/2007 12:20:50
--czRehjsqUdpaVUeF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I've been investigating why recent NetBSD/amd64 running in
qemu-system-x86_64 hangs the emulator in spllower().

I'm puzzled by two versions of this function.

In rev 1.12, one of the outs of this function is:

	...
1:
	rep
	ret
2:
	...

In rev 1.13 and latter, this is:

	...
1:=09
	ret
	ret
2:
	...

FWIW, the i386 one uses a single 'ret'.

Could someone explain the differences?

	Jonathan Kollasch

--czRehjsqUdpaVUeF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHXDICOjx1ye3hmokRAvwAAJ0cyQZrbQ+xUkkmkRyaa1YRGPu50QCfXDsh
hem4GGHTlPuMkbAIZL11oGQ=
=gGuZ
-----END PGP SIGNATURE-----

--czRehjsqUdpaVUeF--