Improved floating point emulation for RISC OSBy Chris Williams. Published: 1st Oct 2002, 18:47:57 | Permalink | Printable
Mech's SuperFPEm 2.33 released [Updated]Floating point handling is a much discussed area of RISC OS hardware, as it's always been something that the platform has been lacking. As processors like ARM chips deal with integers, floating point calculations are usually handed over to a special secondary processor, a Floating Point Unit, which is optimised for such processing. However, modern RISC OS hardware that uses StrongARMs, ARM710s and ARM610s don't pack a FPU so these floating point calculations need to be done in software on the ARM processor via the Floating Point Emulator module.
Step in SuperFPEm, developed by Dan "Mech" Maloney, who has today announced the release of SuperFPEm version 2. According to Dan, SuperFPEm speeds up floating point maths for RISC OS machines using StrongARM, ARM710 and ARM610 processors.
"Once upon a time a chappy called Niall Douglas (known for wimp2) hacked the FPEmulator to speed up a dodgy release of Acorn Quake", Dan explains in his announcement. "He uploaded it to Hensa and I downloaded it and intrigued, continued the reverse-engineering 'just-for-fun'. Eventually, after trying rewriting lots of it, it got called 'SuperFPEm' and I put it on my webspace for a while."
At the time, Dan tried to update SuperFPEm to fix a few issues but failed in his attempts.
"..over a year since my last attempt, I've got a new RISC-like strategy", continues Dan. "I've decided to cut out vast quantities of the source code and concentrate on the bits that matter. In doing so, I've discovered lots of bugs in SuperFPEm that I never had a clue existed. It's much more reliable now."
Public health warning
drobe.co.uk would like to point out that SuperFPEm is a very low level piece of software and any faults or bugs may well result in your system crashing to a halt. However, if you know what you're doing and want to help Mech fix any remaining problems, you're invited to email him.
"I've tested it a lot and am quite happy with it", Dan boasts, "but I still would like anyone who tries it and has any problems to drop me an email, because the whole aim was to clear up all the problems with it, so I can say I finished the job."
Mech as updated his SuperFPEm software to 2.33 straight after releasing 2.32. As well as engineering a small performance improvement, Mech also explains,
"Embarassingly, SuperFPEm 2.32 didn't work with RISC OS Select's version of FPEmulator (4.10). This was entirely my own fault, due to poor research. (SuperFPEm 2 has to know how to access the FPEmulator's workspace and I seem to have assumed it worked like 4.14 when in fact it works like 4.09)."
SuperFPEm 2.33 download
Previous: RISCOS Ltd. sourceforges Printers+
Next: PNG developers kit from RISCOS Ltd.
DiscussionViewing threaded comments | View comments unthreaded, listed by date | Skip to the end
Please login before posting a comment. Use the form on the right to do so or create a free account.
Search the archives
Today's featured article
How to get your favourite old games running on your newer hardware
Alex Macfarlane Smith guides us through the patchwork
Discuss this. Published: 22 Jan 2003
Facts found on Acorn Cybervillage
A new month, a new Omega deadline
18 comments, latest by quatermass on 24/1/03 1:00PM. Published: 20 Jan 2003
News and media:
RISCOS Ltd •
RISC OS Open •
MW Software •
Advantage Six •
CJE Micros •
Liquid Silicon •
Chris Why's Acorn/RISC OS collection •
The Register •
The Inquirer •
Apple Insider •
BBC News •
Sky News •
Google News •