Post Reply 
Assembler, but not at all
10-14-2023, 08:52 PM
Post: #24
RE: Assembler, but not at all
(10-12-2023 03:31 AM)komame Wrote:  The same program implemented in PPL would look like this:
Code:
EXPORT LOOPS()
BEGIN
  LOCAL i;
  REPEAT
    i:=i+1;
  UNTIL 0;
END;
and after 60 seconds, the result is 2,950,000 (firmware 14730, tested just after soft reset). So, for one loop cycle, PPL requires 10738 CPU cycles.

...
EDIT: I forgot that I still have the G1, which primarily differs from the G2 in its CPU architecture (ARMv5 vs ARMv7) and the actual processor clock speed is just a little over 20% difference. In this test, the G1 [400MHz] scores as follows: 845,000 iterations / 28402 CPU cycles per one loop iteration (so it is worse than RPL on HP49G), which unfortunately confirms that under such conditions, RPL would probably take the lead (but this doesn't reflect well on RPL, it just reflects poorly on PPL).
...

NewRPL running this test on the Prime G1 did 1,878,000 in 60 seconds.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Assembler, but not at all - komame - 09-21-2023, 09:26 AM
RE: Assembler, but not at all - komame - 09-22-2023, 03:50 AM
RE: Assembler, but not at all - jte - 09-22-2023, 09:03 PM
RE: Assembler, but not at all - komame - 09-25-2023, 05:24 PM
RE: Assembler, but not at all - jte - 09-26-2023, 07:24 AM
RE: Assembler, but not at all - komame - 10-11-2023, 09:43 AM
RE: Assembler, but not at all - John Keith - 10-11-2023, 02:20 PM
RE: Assembler, but not at all - komame - 10-11-2023, 04:36 PM
RE: Assembler, but not at all - jte - 10-12-2023, 12:08 AM
RE: Assembler, but not at all - jte - 09-22-2023, 09:19 PM
RE: Assembler, but not at all - John Keith - 10-11-2023, 10:41 PM
RE: Assembler, but not at all - komame - 10-12-2023, 03:31 AM
RE: Assembler, but not at all - Claudio L. - 10-14-2023 08:52 PM
RE: Assembler, but not at all - parisse - 10-12-2023, 06:55 AM
RE: Assembler, but not at all - komame - 10-12-2023, 07:13 AM
RE: Assembler, but not at all - parisse - 10-12-2023, 12:15 PM
RE: Assembler, but not at all - John Keith - 10-12-2023, 08:40 PM
RE: Assembler, but not at all - parisse - 10-12-2023, 12:49 PM
RE: Assembler, but not at all - parisse - 10-13-2023, 05:36 AM
RE: Assembler, but not at all - komame - 10-13-2023, 01:16 PM
RE: Assembler, but not at all - komame - 10-14-2023, 04:12 PM
RE: Assembler, but not at all - parisse - 10-13-2023, 04:56 PM
RE: Assembler, but not at all - parisse - 10-15-2023, 06:21 AM
RE: Assembler, but not at all - Claudio L. - 10-18-2023, 02:46 AM
RE: Assembler, but not at all - komame - 10-18-2023, 05:41 PM
RE: Assembler, but not at all - Claudio L. - 10-19-2023, 02:54 AM
RE: Assembler, but not at all - komame - 11-01-2023, 07:06 AM
RE: Assembler, but not at all - dlidstrom - 11-12-2023, 07:57 PM
RE: Assembler, but not at all - komame - 11-13-2023, 02:07 PM
RE: Assembler, but not at all - komame - 02-19-2024, 06:21 PM



User(s) browsing this thread: 1 Guest(s)