| | Re: NQC v. LegOS / size John A. Tamplin
|
| | (...) Are you linking libgcc.a? I believe it has all the math helper functions that are required. John A. Tamplin Traveller Information Services jat@Traveller.COM 2104 West Ferry Way 256/705-7007 - FAX 256/705-7100 Huntsville, AL 35801 -- Did you (...) (26 years ago, 9-Feb-99, to lugnet.robotics)
|
| | |
| | | | Re: NQC v. LegOS / size dave madden
|
| | | | =>From: "John A. Tamplin" <jat@Traveller.COM> =>... =>On Tue, 9 Feb 1999, dave madden wrote: => =>> Yes, the H8 divide instruction can only do (16 bits)/(8 bits), so GCC =>> calls a helper routine [...] => =>Are you linking libgcc.a? I believe it (...) (26 years ago, 9-Feb-99, to lugnet.robotics)
|
| | | | |
| | | | | | Re: NQC v. LegOS / size John A. Tamplin
|
| | | | (...) In most cross-compilers, there is assembly code for those helper functions. In EGCS, those are in config/h8300/lib1funcs.asm. (...) It calls __divhi3, which is defined in config/h8300/lib1funcs.asm. I built egcs-1.1.1 without any changes (that (...) (26 years ago, 9-Feb-99, to lugnet.robotics)
|
| | | | |
| | | | | | Re: NQC v. LegOS / size Kekoa Proudfoot
|
| | | | | (...) There are two problems with lib1funcs.asm. First, all the functions are in one .asm file. That means you have the code for all math functions even if you use only one of them. Second, most of the routines are already in ROM, so if you can take (...) (26 years ago, 9-Feb-99, to lugnet.robotics)
|
| | | | | |
| | | | | | Re: NQC v. LegOS / size dave madden
|
| | | | | =>From: "John A. Tamplin" <jat@Traveller.COM> =>... =>It calls __divhi3, which is defined in config/h8300/lib1funcs.asm. I =>built egcs-1.1.1 without any changes (that I remember :), and it put =>those in libgcc1.a, which then gets merged into (...) (26 years ago, 10-Feb-99, to lugnet.robotics)
|
| | | | | |
| | | | | | Re: NQC v. LegOS / size Markus L. Noga
|
| | | | Hi John, (...) I'm currently working on compiler details with Chris. He sent me some patches to produce cleaner code for ROM calls (register allocation issues), and after we have consolidated these, there'll be both patches and binary releases for (...) (26 years ago, 10-Feb-99, to lugnet.robotics)
|
| | | | |
| | | | | | Re: NQC v. LegOS / size John A. Tamplin
|
| | | | (...) I had started to do that, but then I decided that was way too much work for what I have time for, with little benefit. I assume you are changing the target name to something like h8300-hitachi-rcx and setting it up properly for configure? If (...) (26 years ago, 10-Feb-99, to lugnet.robotics)
|
| | | | |
| | | | | | Re: NQC v. LegOS / size Markus L. Noga
|
| | | | (...) This mainly involves small, but crucial changes to h8300.h. Register constraints, preserved and clobbered registers and allocation issues are all taken care of in that file. I didn't think about submitting this, but it should be easily (...) (26 years ago, 11-Feb-99, to lugnet.robotics)
|
| | | | |