🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #12524

Re: Swap byte instruction - how high is the win?

#12524
From: David Willmore
Date: Sat, 09 Jan 1993 23:12
27 lines
1872 bytes
prener@watson.ibm.com (Dan Prener) writes:
vhs@rhein-main.de (Volker Herminghaus-Shirai) writes:
>> Subject line almost says it all. Many modern processors have an
>> instruction to swap the bytes in a word. Can one quantify the
>> win of using this instruction vs. the equivalent sequence of
>> instructions? How much silicon is needed? What applications
>> win the most and how much? There must be *some* resaon why the
>> RISC folks put it in, right?

>The win is approximately zero for general code.  But it is significant
>for emulating a processor with the opposite byte order.

This makes the whole issue of NextStep 486 strange.  If the purported
reason that NextStep is only supported for the 486 is to sell more 486's
then why don't they sell a 386 version with all the bswap's replaced by
the long and slow series of 386 instructions which it takes to emulate
it?  That way, they could show that the 486 was much superior to the 386
by demonstrating how much faster NextStep runs on the 486 as compared to
the 386?  That would be a more subtle way of selling 486's.  It might
even carry over to people who want to run things other than NextStep
because, "Well, if it runs that faster, it will run my program faster
too, right?(wrong)" :)

Looks like another bad marketing plan.

--David Willmore
willmore@iastate.edu
Technical Details
Message-ID: <willmore.726621153@class1.iastate.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!gumby!destroyer!news.iastate.edu!class1.iastate.edu!willmore
References: <1993Jan7.074052.19620@qb.rhein-main.de> <PRENER.93Jan7233525@prener.watson.ibm.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.arch
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!gumby!destroyer!news.iastate.edu!class1.iastate.edu!willmore
From: willmore@iastate.edu (David Willmore)
Subject: Re: Swap byte instruction - how high is the win?
Message-ID: <willmore.726621153@class1.iastate.edu>
Sender: news@news.iastate.edu (USENET News System)
Organization: Iowa State University, Ames IA
References: <1993Jan7.074052.19620@qb.rhein-main.de> <PRENER.93Jan7233525@prener.watson.ibm.com>
Date: Sat, 9 Jan 1993 23:12:33 GMT
Lines: 27