Path: utzoo!attcan!uunet!samsung!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!sun-bb!khb From: khb@chiba.kbierman@sun.com (Keith Bierman - SPD Advanced Languages) Newsgroups: comp.arch Subject: Re: RISC Machine Data Structure Word Alignment Problems? Message-ID: Date: 1 Feb 90 19:44:14 GMT References: <1810@sunquest.UUCP> <1495@east.East.Sun.COM> <1990Jan31.174500.10553@utzoo.uucp> Sender: news@sun.Eng.Sun.COM Organization: Sun Microsystems Lines: 20 In-reply-to: henry@utzoo.uucp's message of 31 Jan 90 17:45:00 GMT In article <1990Jan31.174500.10553@utzoo.uucp> henry@utzoo.uucp (Henry Spencer) writes: >1) In the hardware, perhaps taking a performance hit on "misaligned" data. >2) In the compilers >3) Explicitly in the program. any of the above. (Sun-3 C does #1, Mips C does #2 on request, SPARC C does #3.) It does not *promise* anything but the lowest common denominator, however, to wit number 3. Sun's compilers have a -misalign option. -- Keith H. Bierman |*My thoughts are my own. !! kbierman@Eng.Sun.COM It's Not My Fault | MTS --Only my work belongs to Sun* kbierman%eng@sun.com I Voted for Bill & | Advanced Languages/Floating Point Group Opus | "When the going gets Weird .. the Weird turn PRO" "There is NO defense against the attack of the KILLER MICROS!" Eugene Brooks