Subject: port-alpha/7536: ldwu insn needs emulation for DU binary apps
To: None <gnats-bugs@gnats.netbsd.org>
From: None <tv@pobox.com>
List: netbsd-bugs
Date: 05/08/1999 20:22:06
>Number:         7536
>Category:       port-alpha
>Synopsis:       ldwu insn needs emulation for DU binary apps
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer (NetBSD/alpha Portmaster)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat May  8 14:35:00 1999
>Last-Modified:
>Originator:     Todd Vierling
>Organization:
	DuhNet: Pointing out the obvious since 1994.

>Release:        see Environment
>Environment:
System: NetBSD duhnet.net 1.4B NetBSD 1.4B (DUH) #1: Fri May 7 15:41:21 EDT 1999 tv@duhnet.net:/usr/SRC/netbsd/src/sys/arch/alpha/compile/DUH alpha

>Description:

The RealServer G2 (6.0) receives a SIGILL thanks to:

0x12000f4a8 (main+280): ldwu    a0,32(t0)

which cgd tells me is a BWX instruction which my 21064A (comes with my
AS200/233) does not implement.  (Much thanks to gdb accepting ECOFF DU
binaries without incident, except a nit where you have to `continue' after
the first SIGTRAP.  :)

>How-To-Repeat:

Run g2p3-digitalunix-4_0.bin on -current alpha with COMPAT_OSF1.

Ask for where to get this binary; NetBSD developers can find it in my home
directory (~tv) on ftp.netbsd.org.

>Fix:

Emulate ldwu in software ... ::shiver::
>Audit-Trail:
>Unformatted: