asie's DSTwo software

Discussion in 'Supercard SDK' started by asiekierka, Jan 17, 2011.

Jan 17, 2011

asie's DSTwo software by asiekierka at 7:16 PM (4,488 Views / 1 Likes) 8 replies

  1. asiekierka
    OP

    Newcomer asiekierka Advanced Member

    Joined:
    Sep 26, 2007
    Messages:
    83
    Location:
    Poland
    Country:
    Poland
    Here I'll post my DSTwo apps.

    First of all comes a benchmark for the DSTwo (a port of Linpack).
    Notice that as the DSTwo uses software floating-point, floating-point operations WILL be slow. (I will try to port a benchmark which does not use floating-point later).

    http://64pixels.org/linpacktwo.zip
     
    Margen67 likes this.
  2. Recorderdude

    Member Recorderdude Musician, Animator, Buffoon.

    Joined:
    Jun 19, 2010
    Messages:
    1,392
    Country:
    United States
    Your URL produces a 404. [​IMG]

    Perhaps you could upload it to GBATEMP's filetrip instead?

    Also, you probably already know, but BassAceGold did one of these too awhile ago.

    http://gbatemp.net/t253485-system-tester-plugin
     
  3. BassAceGold

    Member BassAceGold Testicles

    Joined:
    Aug 14, 2006
    Messages:
    494
    Country:
    Canada
    My system tester was mainly designed to measure the limitation of transferring data through slot 1 where this benchmark will measure computing power.
     
  4. asiekierka
    OP

    Newcomer asiekierka Advanced Member

    Joined:
    Sep 26, 2007
    Messages:
    83
    Location:
    Poland
    Country:
    Poland
    Margen67 likes this.
  5. asiekierka
    OP

    Newcomer asiekierka Advanced Member

    Joined:
    Sep 26, 2007
    Messages:
    83
    Location:
    Poland
    Country:
    Poland
    Oh, hey, some more software!
    LinpackTwo source

    Now, DhryTwo - a port of Dhrystone to the DSTwo. It uses integers, pointers and strings (roughly what you use in normal C apps) to measure the speed.

    Download DhryTwo
    Source code

    EDIT: I did two checks, without and with optimization.

    Optimization: 310 DMIPS (comparable to a 200MHz Pentium Pro)
    No optimization: 140 DMIPS (comparable to a 300MHz Celeron or Pentium II)

    The difference is most likely from the fact that the x86 has more opcodes, so it can do some things faster. Without optimization it's more accurate, because the compilers cannot use so many architecture-specific speedup tricks.

    Essentially the DSTwo's speed is equal to a 250MHz PC. Or so.

    EDIT: And the floating-point speed (Linpack) is equal to a ~30-40MHz 80486 (because of the fact the 486 does it in hardware while we can't). Oh joy.
    Lesson: DO NOT USE FLOATS. OR DOUBLES.
     
    Margen67 likes this.
  6. pcmantinker

    Newcomer pcmantinker Advanced Member

    Joined:
    May 4, 2009
    Messages:
    73
    Location:
    Greater Atlanta Area
    Country:
    United States
    My apologies for reviving such an old thread, but doesn't the MIPS have an FPU? I just took a computer architecture class based on the MIPS and learned that there is a floating point unit in MIPS CPUs. I know that the MIPS has instructions to handle floating point numbers on the hardware side so I was just curious whether the SDK implemented these instructions yet. Is the MIPS instruction set for this CPU the same as what one would run in a simulator such as MARS or SPIM? Forgive me if I'm wrong about the instructions, but I was just curious about how this relates to what I learned about the MIPS in my classes this semester.
     
  7. asiekierka
    OP

    Newcomer asiekierka Advanced Member

    Joined:
    Sep 26, 2007
    Messages:
    83
    Location:
    Poland
    Country:
    Poland
    You're wrong, there are tons of kinds and revisions of MIPS CPUs. This is the JZ4740 which has extra video processing instructions and possibly no floats.
     
  8. Boriar

    Member Boriar GBAtemp Fan

    Joined:
    Sep 22, 2008
    Messages:
    313
    Location:
    Spain
    Country:
    Spain
    All links appears to be broken. Please, can you upload they to filetrip or at least check the links?
     
  9. pcmantinker

    Newcomer pcmantinker Advanced Member

    Joined:
    May 4, 2009
    Messages:
    73
    Location:
    Greater Atlanta Area
    Country:
    United States
    Thanks for the clarification. I wasn't sure which MIPS CPU this was. I'll have to read more about the chip to learn about its specific instruction set and architecture.

    EDIT: Here is a list of documents for the JZ4740 for anyone interested: http://www.amebasystems.com/downloads/hard...4720/Jz4740-PM/

    Sadly, it looks like there isn't hardware floating point support. It's a shame since software floating point emulation is much slower.
     

Share This Page