6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Mon May 20, 2024 1:43 pm

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Wed Jan 26, 2022 10:33 pm 
Offline

Joined: Wed Mar 02, 2016 12:00 pm
Posts: 343
Hi

I have been wondering what 6502 core is the fastest? E.g. with respect to the number of instructions per second? Are there any that can do or exceed 1 instruction per cycle?


Top
 Profile  
Reply with quote  
PostPosted: Wed Jan 26, 2022 11:12 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1930
Location: Sacramento, CA, USA
John Kortink (Windfall) got his core to at least 420 effective MHz (on a 200 MHz clock) with premium hardware here, which seems to be slightly less than one instruction per cycle on average. I'm reasonably sure that Arlet's core is the lightest around here, but that's a different measure. In the linked thread, John reported Arlet's core at 230 MHz (on similar premium hardware) with "authentic" cycle-per-instruction behavior.

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 28, 2022 3:51 pm 
Offline

Joined: Wed Mar 02, 2016 12:00 pm
Posts: 343
I am not sure what the term effective MHz means, but it looks like he managed 1 cycle per instruction for some of the opcodes.

Has anyone tried more that 1 instruction per cycle?


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 28, 2022 4:45 pm 
Offline
User avatar

Joined: Sun Jun 30, 2013 10:26 pm
Posts: 1930
Location: Sacramento, CA, USA
kakemoms wrote:
I am not sure what the term effective MHz means ...

I think it's an external measure of performance in a typical benchmark (whatever that is), and is affected by the clock speed and the cycle-per-instruction ratio. When he stated 420 MHz on a 200 MHz clock, I think he is saying that his core is on average executing 2.1 times more code per clock than an "authentic" 6502 can. Please correct me if I'm wrong.

_________________
Got a kilobyte lying fallow in your 65xx's memory map? Sprinkle some VTL02C on it and see how it grows on you!

Mike B. (about me) (learning how to github)


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 28, 2022 4:56 pm 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10802
Location: England
That's my understanding too.

As noted, then, John managed single-cycle for a lot of instructions, but not for all. And the large amount of machinery used brought down the clock speed from a small lightweight core, namely Arlet's. That's not too surprising. The large complex core was still a net win though, for overall performance.

I suspect this core of John's is the best yet, for instructions per clock. It might be best yet for absolute performance, on the particular FPGA he has, for a hardware implementation. (The nature of modern commodity CPUs is such that an emulated 6502 can be faster still. Of course that's on custom silicon with a very complex implementation.)

It would be interesting to see another attempt at a high-performance 6502, of course.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 28, 2022 7:34 pm 
Offline
User avatar

Joined: Sun Nov 27, 2011 12:03 pm
Posts: 229
Location: Amsterdam, Netherlands
kakemoms wrote:
I am not sure what the term effective MHz means, but it looks like he managed 1 cycle per instruction for some of the opcodes.

Has anyone tried more that 1 instruction per cycle?

Just feed multiple instructions to multiple execution units.

Not yet, I think. I may do it some day if no one else does. It seems like both an interesting and nightmarish exercise.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: