The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
N-Queens results on Casio calculators
07-22-2024, 08:03 PM (This post was last modified: 07-25-2024 05:45 PM by CalcLoverHK.)
Post: #1
N-Queens results on Casio calculators
Hey, I just registered here to share my results of N-Queens benchmark so far.

Long story short, I did a research on how much performance GCC can achieve in floating-point and integer arithmetic, and compared that to the Renesas SHC compiler which is used by Casio C SDK. The Whetstone and Dhrystone tests concluded that GCC is theoretically faster than SHC in both areas.

Reference: https://www.planet-casio.com/Fr/forums/t...piler.html

To further confirm the performance uplift, I tried to port C.Basic FX 2.47-β2 to GCC with the help of Lephenixnoir, and run N-Queens C.Basic program under Integer Mode. Here are the results I got:

fx-9860G Slim (Default): 0.639s
fx-9860G Slim (Ftune F5 OC): 0.233s
fx-9860GII-2 SD (Default): 0.539s
fx-9860GII-2 SD (Ftune2 F5 OC): 0.0768s

All of them are faster than the current best of their own category.

I also did benchmark on fxSDK/gint + GCC:

C / Unstructured
fx-9860G Slim (-Os): 0.002306s
fx-9860G Slim (-O2): 0.002264s
fx-9860G Slim (-O3/-Ofast): 0.002040s
fx-9860GII-2 SD (-Os): 0.001827s
fx-9860GII-2 SD (-O2): 0.001960s
fx-9860GII-2 SD (-O3/-Ofast): 0.002010s

fx-9860GII-2 SD (-Os, Ftune2 F5 OC): 0.000227s

C / Structured
fx-9860G Slim (-Os): 0.002870s
fx-9860G Slim (-O2): 0.002062s
fx-9860G Slim (-O3/-Ofast): 0.001996s
fx-9860GII-2 SD (-Os): 0.002498s
fx-9860GII-2 SD (-O2): 0.001873s
fx-9860GII-2 SD (-O3/-Ofast): 0.002028s

fx-9860G Slim (-O3/-Ofast, Ftune F5 OC): 0.000555s

MyCalcs profile
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
N-Queens results on Casio calculators - CalcLoverHK - 07-22-2024 08:03 PM



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