Xref: utzoo comp.arch:13842 comp.lang.c:25877 Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!purdue!mentor.cc.purdue.edu!l.cc.purdue.edu!cik From: cik@l.cc.purdue.edu (Herman Rubin) Newsgroups: comp.arch,comp.lang.c Subject: Re: RISC Machine Data Structure Word Alignment Problems? Summary: The functions should be provided in hardware. Keywords: risc sun Message-ID: <1925@l.cc.purdue.edu> Date: 13 Feb 90 13:23:09 GMT References: <111@melpar.UUCP> <1990Jan21.224826.1699@esegue.segue.boston.ma.us> Followup-To: comp.arch,comp.lang.c Organization: Purdue University Statistics Department Lines: 15 In article , peter@ficc.uu.net (Peter da Silva) writes: > Use structs internally. > > Provide functions to read and write each structure, that do the needed > conversions. Never touch the external format internally. [Example deleted.] This is another situation where the procedure is extremely slow in software. If the appropriate hardware were provided, this would not be a problem. But would the machine then be RISC? -- Herman Rubin, Dept. of Statistics, Purdue Univ., West Lafayette IN47907 Phone: (317)494-6054 hrubin@l.cc.purdue.edu (Internet, bitnet, UUCP)