Titanium Assembler Bug?
Lothar (3292) 134 posts |
Hello, I have a question for ARM experts. I wanted to check the Titanium NEON performance with FracCollection:FracNEON http://www.mikusite.de/pages/riscos.htm However there is an error that Titanium A15 does not have instruction VDPL I then checked with “old” Pi 2 A7 and it works. Both A7 and A15 have VFPv4 so there should be no difference. Pi 3 A53 also works – even though running in legacy 32-bit mode. Could it be a bug in the VFPSupport module only happening for A15? Or a bug in the AM5728? Thanks |
Elesar (2416) 73 posts |
From BASIC 1.68 onwards the mnemonic accepted by BASIC was corrected to be VDUP. This version of BASIC is in the RISC OS 5.24 stable release, so perhaps your Pi is running an earlier version? Titanium ships with BASIC 1.75 in ROM. |
Steve Drain (222) 1620 posts |
It’s good to know that. I must correct the VFP StrongHelp manual, and I also have a BASIC crunching program that needs to take it into account. |
Kuemmel (439) 384 posts |
As beeing the author of those test programs, good to know that ! I’m still running quite old BASIC V1.61 on my PI3, so I didn’t notice…so it’s VDUP finally ? Why not keep VDPL also to have a backwards compatibility ? @Lothar: As the others said, for a fast fix, just search and replace VDPL with VDUP. |
Lothar (3292) 134 posts |
Pi is running the latest RISC OS Pico which still has BASIC V1.63 so this explains it. Until Pico is updated I guess RMEnsure is required to make a NEON program run on both RISC OS 5.24 and latest Pico |
Lothar (3292) 134 posts |
> just search and replace VDPL with VDUP I tried this with the current RISC OS Pi 5.24 and it still gives “no such mnemonic” |
Kuemmel (439) 384 posts |
@Lotar: Can you post the full line of code that gives the error ? |
Lothar (3292) 134 posts |
It seems I made some mistake. I tried again and now it works. |