🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #27292

Re: MWC problem with 'long int'

#27292
From: Dave Clemans
Date: Thu, 18 Jun 1987 16:52
11 lines
925 bytes
Mark Williams C version 2.0 has a bug in doing at least some types
of sign extensions of int's to longs; specifically it can generate
the 68000 instruction
    ext.w
(which sign extends an 8 bit quantity into 16 bits) instead of
the correct
    ext.l
(which sign extends a 16 bit quantity into 32 bits).

dgc
Technical Details
Message-ID: <740@dclemans.mntgfx.MENTOR.COM>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!dclemans
References: <8706170613.AA18106@cory.Berkeley.EDU>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!rutgers!mit-eddie!uw-beaver!tektronix!sequent!mntgfx!dclemans
From: dclemans@mntgfx.MENTOR.COM (Dave Clemans)
Newsgroups: comp.sys.atari.st
Subject: Re: MWC problem with 'long int'
Message-ID: <740@dclemans.mntgfx.MENTOR.COM>
Date: Thu, 18-Jun-87 12:52:03 EDT
Article-I.D.: dclemans.740
Posted: Thu Jun 18 12:52:03 1987
Date-Received: Mon, 22-Jun-87 01:15:25 EDT
References: <8706170613.AA18106@cory.Berkeley.EDU>
Organization: Mentor Graphics, Beaverton OR
Lines: 11
Summary: mwc 2.0 bug in sign extensions