daniel tian wrote: > Another problem I found when hacking other port. > Do I need to write SF, DF move operations? > And basic arithmetic insn patterns like ADD, SUB in DImode? > > Because in CRX port (as I knew, there is no float point unit in this > cpu), DI,SF,DF mode have 'move' operation. and there are subtract, > add operations in DImode. > > So I mean whether I have to achieve all those operations. because my > target is 32bit RISC chip, no 64bit arithmetic operations and no float > point unit. > > It's really tough to build libgcc succeeded. > > Can your guys give me some suggestions.
I think you can enable soft-fp in your t- target makefile fragment and then you need only implement trivial register to register fp moves for everything to basically work, but I haven't checked so I may have remembered wrong. cheers, DaveK