Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site umcp-cs.UUCP Path: utzoo!linus!gatech!seismo!umcp-cs!chris From: chris@umcp-cs.UUCP (Chris Torek) Newsgroups: net.lang.c Subject: Re: Code Generation Message-ID: <2297@umcp-cs.UUCP> Date: Thu, 21-Nov-85 22:12:33 EST Article-I.D.: umcp-cs.2297 Posted: Thu Nov 21 22:12:33 1985 Date-Received: Sat, 23-Nov-85 09:51:09 EST References: <3457@brl-tgr.ARPA> Organization: U of Maryland, Computer Science Dept., College Park, MD Lines: 17 In article <3457@brl-tgr.ARPA> cottrell@nbs-vms.arpa (COTTRELL, JAMES) writes: > /* Key: >> Ron Natalie, > Chris Torek > > You can indeed apply > > registers to `short's and `char's and even `float's and `double's; > > it is merely much more difficult to get the code generation right. > Why is that? For the moment lets forget about the floating types. PCC seems to want to convert all expressions of type `short' and `char' before looking them up in its opcode tables. You would have to rip that out, which would require matching changes in all the support routines. That is an awful lot of changes.... -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251) UUCP: seismo!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris@mimsy.umd.edu