Article View: comp.sys.intel
Article #1767Re: Moving floating point values around
From: Chris Torek
Date: Tue, 23 Aug 1988 13:05
Date: Tue, 23 Aug 1988 13:05
12 lines
1000 bytes
1000 bytes
In article <4256@lynx.UUCP> m5@lynx.UUCP (Mike McNally) writes: >How naughty would it be for a compiler for the 386/387 (or 286/287 for that >matter) to move floating-point values with 386 MOV instructions instead >of FLD and FSTP? Probably safe: the 4.3BSD C compiler (actually, peephole optimiser) can be told to change movf and movd instructions to movl and movq (`/lib/c2 -f'). This is used by the f77 compiler; it improves some benchmarks rather surprisingly. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris
Technical Details
Message-ID:
<13148@mimsy.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!oddjob!mimsy!chrisReferences:
<4256@lynx.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!husc6!uwvax!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.sys.intel,comp.lang.c,comp.arch Subject: Re: Moving floating point values around Message-ID: <13148@mimsy.UUCP> Date: 23 Aug 88 13:05:44 GMT References: <4256@lynx.UUCP> Distribution: na Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 12