Hi,
It would be really nice if the default in code generation from romcc would generate constant values as hex values, rather than decimal values - I have been looking at the generated code in auto.inc and $1016 really means nothing to me as opposed to 0x3f8, which means a lot to me.
I have had a brief look at romcc.c, and it is a HUGE piece of code, and I do not think that it is of merit for me to look at that code while actually trying to get something else working!
TIA
Regards
Hamish
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07.04.2005
I have had a brief look at romcc.c, and it is a HUGE piece of code, and I do not think that it is of merit for me to look at that code while actually trying to get something else working!
Hamish:
IMHO, romcc is a very remarkable piece of work by Eric Biederman. I argued against it at the time as being too ambitious, but of course, Eric proved it could be done. It really should be put up on its own web site as a separate project. There are probably other projects that could benefit from a C code compiler that operates purely in registers without RAM enabled.
Steve G.
Steve:
I concur 100% with your comments, and must congratulate Eric on this remarkable piece of work. All I am looking for is a few pointers as to limitations, register usage etc., which I can then probably document for a small HOWTO on ROMCC so that other newbies to ROMCC do not fall into the holes I have apparently dug for myself!!! I am also now writing a few bits of test code to try to figure out how registers are allocated and consumed for variables/function calls, and thus maybe glean a bit more insight into the issue.
-----Original Message----- From: Steve Gehlbach [mailto:steve@nexpath.com] Sent: Sonntag, 10. April 2005 22:33 To: Hamish Guthrie Cc: Linuxbios Subject: Re: [LinuxBIOS] Feature request - romcc
I have had a brief look at romcc.c, and it is a HUGE piece of code, and I
do
not think that it is of merit for me to look at that code while actually trying to get something else working!
Hamish:
IMHO, romcc is a very remarkable piece of work by Eric Biederman. I argued against it at the time as being too ambitious, but of course, Eric proved it could be done. It really should be put up on its own web site as a separate project. There are probably other projects that could benefit from a C code compiler that operates purely in registers without RAM enabled.
Steve G.
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07.04.2005
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07.04.2005
Steve Gehlbach steve@nexpath.com writes:
I have had a brief look at romcc.c, and it is a HUGE piece of code, and I do not think that it is of merit for me to look at that code while actually trying to get something else working!
Hamish:
IMHO, romcc is a very remarkable piece of work by Eric Biederman. I argued against it at the time as being too ambitious, but of course, Eric proved it could be done. It really should be put up on its own web site as a separate project. There are probably other projects that could benefit from a C code compiler that operates purely in registers without RAM enabled.
If the interest develops I will be happy to. But until then that simply generates more maintenance work, and I'd rather spend my time developing things.
Eric
Is this new? I don't recall Via providing source before, or was it just that they were tight with their CLE266 datasheets? Seems like this ought to help with the EPIA. Source is at www.viaarena.com.
article: http://lwn.net/Articles/131777/ (sub req'd)
--------------------------------------------- VIA Releases Linux Driver Source Packages
Freely available driver source code eases the development of tailor-made applications for the latest Linux distributions
Taipei, Taiwan, 12 April 2005 - VIA Technologies, Inc, a leading innovator and developer of silicon chip technologies and PC platform solutions, today announced the extension of its open source support with the release of driver source codes for specific VIA hardware.
..... --------------------------------------------------------------
-Steve
"Hamish Guthrie" hamishl@dplanet.ch writes:
Hi,
It would be really nice if the default in code generation from romcc would generate constant values as hex values, rather than decimal values - I have been looking at the generated code in auto.inc and $1016 really means nothing to me as opposed to 0x3f8, which means a lot to me.
I can probably be persuaded to implement a switch that changes the default.
For some uses hex values are very nice, for others decimal values are nice, and there is really no perfect default.
Eric
Hi Eric,
Thanks for the replies.
I am now starting to get into romcc, and I am really impressed. I have hacked my copy to give me HEX values for constants, but a switch would be really great.
Hamish
-----Original Message----- From: Eric W. Biederman [mailto:eric@lnxi.com]On Behalf Of Eric W. Biederman Sent: Montag, 11. April 2005 17:07 To: Hamish Guthrie Cc: Linuxbios Subject: Re: [LinuxBIOS] Feature request - romcc
"Hamish Guthrie" hamishl@dplanet.ch writes:
Hi,
It would be really nice if the default in code generation from romcc would generate constant values as hex values, rather than decimal values - I
have
been looking at the generated code in auto.inc and $1016 really means nothing to me as opposed to 0x3f8, which means a lot to me.
I can probably be persuaded to implement a switch that changes the default.
For some uses hex values are very nice, for others decimal values are nice, and there is really no perfect default.
Eric -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07.04.2005
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.9.5 - Release Date: 07.04.2005