Article View: comp.sys.intel
Article #1845Using short ints
From: Frank I. Reiter
Date: Tue, 10 Jan 1989 16:52
Date: Tue, 10 Jan 1989 16:52
11 lines
944 bytes
944 bytes
We've recently ported a bunch of SCO Xenix 286 C code to SCO Xenix 386. Can
someone familiar with 80386 assembler tell me whether there is any performance
benefit in using short ints (16 bits) rather than the default 32 bit ints for
things like array subscripts, loop counters etc.
Thanks in advance!
--
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Frank I. Reiter \ / UUCP: {uunet,ubc-cs}!van-bc!rsoft!frank
Langley, British Columbia / \ BBS: Mind Link @ (604)533-2312
*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Technical Details
Message-ID:
<13@rsoft.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!alberta!ubc-cs!van-bc!rsoft!frankShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!alberta!ubc-cs!van-bc!rsoft!frank From: frank@rsoft.UUCP (Frank I. Reiter) Newsgroups: comp.sys.intel Subject: Using short ints Keywords: 80386 int Message-ID: <13@rsoft.UUCP> Date: 10 Jan 89 16:52:47 GMT Organization: Reiter Software Inc., British Columbia Canada Lines: 11