English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 17 July 2016, 18:36   #41
phx
Natteravn
 
phx's Avatar
 
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,537
Quote:
Originally Posted by Thorham View Post
I want REAL 68k with REAL Amiga chipset, not an FPGA computer with Amiga stickers on it.
Have to agree here. A Minimig with an FPGA chipset and a real 68SEC000 is already questionable, and certainly the limit for me. But when replacing the CPU by FPGA then the system loses its heart.
phx is offline  
Old 17 July 2016, 18:51   #42
daxb
Registered User
 
Join Date: Oct 2009
Location: Germany
Posts: 3,307
The heart all the same. The soul is important.
daxb is offline  
Old 18 July 2016, 01:53   #43
Pyromania
Moderator
 
Pyromania's Avatar
 
Join Date: Jan 2002
Location: Chicago, IL
Posts: 3,389
@Mrs Beanbag

Thanx for starting a great thread!

@phx

FPGA's are people too and they have a heart.
Pyromania is offline  
Old 18 July 2016, 01:58   #44
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by meynaf View Post
Not a big deal, as varargs aren't very common. Nearly only printf-like stuff use it.
Most of the standard C vararg functions are I/O related.

fprintf(), printf(), sprintf(), snprintf(), vprintf(), vfprintf(), vsprintf(), vsnprintf(), fscanf(), scanf(), sscanf(), vscanf(), vfscanf(), vsscnanf()

There can be user defined varargs though too. They are security risks as well as less efficient. Too bad standard C alternative functions were not offered with C99 or C11 instead of increasing varargs support. It is not like the embedded or server C guys are properly represented in the C standards committees though.

Quote:
Originally Posted by meynaf View Post
Whose the fault ? Poor 68k isn't responsible of compilers doing stupid things. In fact the greatest handicap of 68k compared to other cpus (in the ancient times where it was still mainstream), was poor compiler generated code.
The 68k ISA is not the easiest for compilers. It lacks many modern and mainstream functions. Ease and efficiency of compilers for the CPU are probably *more* important than peak performance which most CPU designers are targeting usually while ignoring compiler design and implications. The huge blunders I mentioned could only take place with an almost complete disconnect between CPU designers (and their managers) and compiler designers. There was and is a problem which keeps repeating.


Quote:
Originally Posted by meynaf View Post
I wouldn't regard MOV3Q as useful, even for that case. What's the win ? 2 bytes every time you push a small value. Big deal.
Yes. MOV3Q replaces PEA to put small immediates on the stack.


Quote:
Originally Posted by meynaf View Post
True. Some additions are neat, though. MVZ, MVS, BITREV, BYTEREV are quite missing in classical 68k.
Some of the new functionality is good. MVZ and MVS are powerful and useful instructions with good encodings which help compilers but where did those names comes from? Not the 68k where they might be SXTB.L, SXTW.L, ZXTB.L, ZXTW.L, BREV.L and REVB.L. There may be other alternatives which could be voted on but some projects are dictatorships with the dictators surrounded by their yes men.

Quote:
Originally Posted by meynaf View Post
It seems not many people care at all.
But good programming starts with a good architecture.
You are one of the few who cares. I wish you would respect the importance of compilers more though. A CPU goes nowhere today without good compiler support.

Quote:
Originally Posted by meynaf View Post
Perhaps the 68k needs some kind of worthy successor, which unfortunately isn't gonna happen either.
I agree. It wouldn't be difficult to make the most powerful CISC ISA in the world (more powerful and much prettier than x86_64) but nobody would build it.

Quote:
Originally Posted by Thorham View Post
That's certainly not what I want. I want REAL 68k with REAL Amiga chipset, not an FPGA computer with Amiga stickers on it.
Quote:
Originally Posted by phx View Post
Have to agree here. A Minimig with an FPGA chipset and a real 68SEC000 is already questionable, and certainly the limit for me. But when replacing the CPU by FPGA then the system loses its heart.
I think we would all like to have a hard (ASIC) CPU instead of FPGA CPU. A FPGA CPU is usable and affordable today and that is how they are designed and debugged. An FPGA chipset doesn't have as many disadvantages and has several advantages.
matthey is offline  
Old 18 July 2016, 06:16   #45
modrobert
old bearded fool
 
modrobert's Avatar
 
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 779
Quote:
Originally Posted by matthey View Post
I think we would all like to have a hard (ASIC) CPU instead of FPGA CPU. A FPGA CPU is usable and affordable today and that is how they are designed and debugged. An FPGA chipset doesn't have as many disadvantages and has several advantages.
I agree.

Logic gates in FPGA or ASIC makes no difference to the core functionality, it is just implemented differently in hardware. There seems to be a lot of confusion on the subject where "emulation" is associated incorrectly.

The problem is more about reverse engineering the original CPU to make the FPGA design fully compatible, and actually putting the main effort into compatibility before adding any new instructions.

Personally I would rather have a 68060 in FPGA thoroughly tested "cycle exact" at 50MHz which can be overclocked reliably to 100MHz, than a beefed up 68040 at 200MHz with added 64 bit instructions and compatibility issues.

Last edited by modrobert; 18 July 2016 at 07:47.
modrobert is offline  
Old 18 July 2016, 09:16   #46
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
Quote:
Originally Posted by matthey View Post
The 68k ISA is not the easiest for compilers. It lacks many modern and mainstream functions.
I do not see anything "modern and mainstream" that the 68k lacks.
Sure in todays cpu there can be a lot of stuff that's not in the 68k. But i don't think we need all that bloat.
Neat asm coding style and good habits lead nowhere if the cpu is a complete mess.


Quote:
Originally Posted by matthey View Post
You are one of the few who cares. I wish you would respect the importance of compilers more though. A CPU goes nowhere today without good compiler support.
The situation is quite balanced. You know what's needed for compilers, i know what's needed for handwritten asm.
The only problem is that we both got nearly fired out of the design team.
meynaf is offline  
Old 18 July 2016, 12:07   #47
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
Quote:
Originally Posted by matthey View Post
I think we would all like to have a hard (ASIC) CPU instead of FPGA CPU.
I already have what I want: A 68030 CPU.
Thorham is offline  
Old 18 July 2016, 20:25   #48
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by meynaf View Post
I do not see anything "modern and mainstream" that the 68k lacks.
Sure in todays cpu there can be a lot of stuff that's not in the 68k. But i don't think we need all that bloat.
Neat asm coding style and good habits lead nowhere if the cpu is a complete mess.
The 68k has certainly aged better than the original x86 and ARM as it has fewer limitations. The lack of modern and mainstream support just makes code slower and compiler support more difficult as the functionality is still possible without it. Code has changed a lot since the early days of the 68k when assembler code was not unusual, integers were more commonly 8 and 16 bits, floating point code and an FPU were rare and C and OOP were leading edge technologies embraced by the Amiga.

Quote:
Originally Posted by meynaf View Post
The situation is quite balanced. You know what's needed for compilers, i know what's needed for handwritten asm.
The only problem is that we both got nearly fired out of the design team.


Quote:
Originally Posted by Thorham View Post
I already have what I want: A 68030 CPU.
I'm glad that you like your 68030 but you might be one of the few Amiga users who wouldn't use a free 68060 accelerator. I guess there are some gamers who would prefer the 68030 but you claim that you aren't a big gamer either. Then you don't think the AmigaOS was very good. Your classification might be unique .
matthey is offline  
Old 18 July 2016, 20:32   #49
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
Quote:
Originally Posted by matthey View Post
The 68k has certainly aged better than the original x86 and ARM as it has fewer limitations. The lack of modern and mainstream support just makes code slower and compiler support more difficult as the functionality is still possible without it. Code has changed a lot since the early days of the 68k when assembler code was not unusual, integers were more commonly 8 and 16 bits, floating point code and an FPU were rare and C and OOP were leading edge technologies embraced by the Amiga.
But what exactly do you call "modern and mainstream support" ?
meynaf is offline  
Old 18 July 2016, 20:50   #50
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
Quote:
Originally Posted by matthey View Post
The lack of modern and mainstream support
Like meynaf, I'd like to know what that means.

Quote:
Originally Posted by matthey View Post
I'm glad that you like your 68030 but you might be one of the few Amiga users who wouldn't use a free 68060 accelerator.
Not as my main system if I don't have to, no. Too fast. 68000 is too slow, 68060 is too fast. This is programming related.

Quote:
Originally Posted by matthey View Post
I guess there are some gamers who would prefer the 68030 but you claim that you aren't a big gamer either.
Not on the Amiga, no. Practically the only thing I play on my Amiga is meynaf's Dungeon Master port.

Quote:
Originally Posted by matthey View Post
Then you don't think the AmigaOS was very good.
I don't think it's very good considering it could be better and faster on the same hardware.

Quote:
Originally Posted by matthey View Post
Your classification might be unique .
Perhaps.
Thorham is offline  
Old 18 July 2016, 23:12   #51
matthey
Banned
 
Join Date: Jan 2010
Location: Kansas
Posts: 1,284
Quote:
Originally Posted by meynaf View Post
But what exactly do you call "modern and mainstream support" ?
Most modern processors include instructions like the ColdFire MVS, MVZ and BYTEREV for example. These operations were less common when the 68k was new but are common and practically expected today. Later 68k processors removed the integer 64 bit result MULS.L/MULU.L, several fp instructions, etc. which even later processors like ARM and x86_64 added. The 68k needs too many branches because of lack of a few instructions like shift with immediates >8 although fast bit field instructions, predication, etc. can help this. Like I said, the type of code has changed dramatically from when the 68k was created to now. A more modern CPU design makes a bigger difference for modern code but ISA/ABI changes can be helpful too. Compiler designers aren't going to spend much time with a small market CPU like the 68k so we want to impress them with how easy to use, consistent, standard and modern an enhanced 68k can be. An attractive face lift for the 68k might attract some outside attention or bring 68k/CF fans to take a 2nd look. A few changes may not seem like much but look what ARM Holdings has done for 15 billion processors to be sold in 2015 alone, employ more than 3000 and deserve an ~40% buyout premium recently when Brexit gave an opportunity. An enhanced 68k can give better single core performance, a smaller foot print and better ease of use than ARM's Thumb 2. There really isn't that much difference but ARM rules the world and the 68k is thrown in the trash bin. ARM has an advantage in power efficiency with simple processors but I don't think that is true for higher performance processors where OoO and many weak cores are needed for performance. Modern support alone is not enough to get the 68k to the success of ARM but the 68k status quo is going nowhere.
matthey is offline  
Old 19 July 2016, 00:18   #52
Thorham
Computer Nerd
 
Thorham's Avatar
 
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,828
Quote:
Originally Posted by matthey View Post
Modern support alone is not enough to get the 68k to the success of ARM but the 68k status quo is going nowhere.
Unless you become extremely rich, 68k is never going to go anywhere.

As for FPGA computers: If you can do anything you want, why not try something completely new? If you want to move ahead, then you have to let Amiga go, it's just that simple.
Thorham is offline  
Old 19 July 2016, 01:13   #53
alpine9000
Registered User
 
Join Date: Mar 2016
Location: Australia
Posts: 881
Quote:
Originally Posted by Thorham View Post
Unless you become extremely rich, 68k is never going to go anywhere.

As for FPGA computers: If you can do anything you want, why not try something completely new? If you want to move ahead, then you have to let Amiga go, it's just that simple.
For people interested in an FPGA core with a fully supported modern tool chain check out j-core

The Super-H instruction set is quite nice compared to other "modern" processors.
alpine9000 is offline  
Old 19 July 2016, 08:22   #54
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
Quote:
Originally Posted by matthey View Post
Like I said, the type of code has changed dramatically from when the 68k was created to now.
Code mostly changed quantitatively. The building blocks remain the same. 68k only lacks few things, and a lot less than any other architecture.


Quote:
Originally Posted by matthey View Post
Compiler designers aren't going to spend much time with a small market CPU like the 68k so we want to impress them with how easy to use, consistent, standard and modern an enhanced 68k can be. An attractive face lift for the 68k might attract some outside attention or bring 68k/CF fans to take a 2nd look.
Compiler designers will care only when we have a significant market share. Else they won't, regardless of how 'nice' the cpu is.
And we won't get there without a good Ghz implementation, which isn't gonna happen.


Quote:
Originally Posted by matthey View Post
An enhanced 68k can give better single core performance, a smaller foot print and better ease of use than ARM's Thumb 2.
No isa changes are needed for that. We're already better than ARM's thumb 2. The Mhz range is our only handicap.


Quote:
Originally Posted by matthey View Post
There really isn't that much difference but ARM rules the world and the 68k is thrown in the trash bin. ARM has an advantage in power efficiency with simple processors but I don't think that is true for higher performance processors where OoO and many weak cores are needed for performance. Modern support alone is not enough to get the 68k to the success of ARM but the 68k status quo is going nowhere.
ARM rules the world because there is no serious concurrence in its market segment. It's maybe fine for handheld devices but it will never beat the others in high performance and so it'll remain where it is. Same with x86, which will never kick the ARM out because of its stupidly high (and useless) complexity.
meynaf is offline  
Old 19 July 2016, 11:27   #55
chaos
Registered User
 
chaos's Avatar
 
Join Date: Mar 2013
Location: Slovenia
Posts: 138
Quote:
Originally Posted by Thorham View Post
Unless you become extremely rich, 68k is never going to go anywhere.

As for FPGA computers: If you can do anything you want, why not try something completely new? If you want to move ahead, then you have to let Amiga go, it's just that simple.
Exactly
chaos is offline  
Old 19 July 2016, 11:58   #56
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
Quote:
Originally Posted by meynaf View Post
ARM rules the world because there is no serious concurrence in its market segment. It's maybe fine for handheld devices but it will never beat the others in high performance and so it'll remain where it is.
ARM's new 64-bit server CPUs are gaining serious traction since they offer very high performance with significantly lower power requirements than any of the competitor's offerings. So this 'it will never beat the others in high performance' is definitely not correct..
demolition is offline  
Old 19 July 2016, 14:35   #57
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
Quote:
Originally Posted by demolition View Post
ARM's new 64-bit server CPUs are gaining serious traction since they offer very high performance with significantly lower power requirements than any of the competitor's offerings. So this 'it will never beat the others in high performance' is definitely not correct..
High performance has never meant better performance.
Sure you have lower power requirements. But the performance, though maybe good enough, is lower as well.
meynaf is offline  
Old 19 July 2016, 14:45   #58
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
'Better performance' is a relative term. Why does one have to compare the performance of one CPU of one model with one CPU of another model? One could just as well compare the performance you could get from a 1U rack with Xeon CPUs and another 1U rack with ARM CPUs. Since the cooling might be the limiting factor in how much CPU die area you could squeeze in there, the ARM rack could fit a higher CPU die area and end up with overall better performance with the same power cost.

For servers, one of the most important factors are also the performance/power since any dissipated power needs equal amounts of active cooling.

For gaming desktop PCs this may not so relevant, but they make up a very little part of the computer market. Laptops, tablets and phones are very prominent and they all benefit heavily from lower power requirements.
demolition is offline  
Old 19 July 2016, 15:03   #59
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,351
Quote:
Originally Posted by demolition View Post
'Better performance' is a relative term. Why does one have to compare the performance of one CPU of one model with one CPU of another model? One could just as well compare the performance you could get from a 1U rack with Xeon CPUs and another 1U rack with ARM CPUs. Since the cooling might be the limiting factor in how much CPU die area you could squeeze in there, the ARM rack could fit a higher CPU die area and end up with overall better performance with the same power cost.
That may be true, however performance doesn't scale linearly with the number of cpus. I'd like to see real numbers.


Quote:
Originally Posted by demolition View Post
For servers, one of the most important factors are also the performance/power since any dissipated power needs equal amounts of active cooling.
Right, but I still don't see arm kicking the others out of that market...


Quote:
Originally Posted by demolition View Post
For gaming desktop PCs this may not so relevant, but they make up a very little part of the computer market. Laptops, tablets and phones are very prominent and they all benefit heavily from lower power requirements.
Yet if you benchmark the average x86 vs the average arm, the arm is everything but impressive. I don't want that in my laptop.
meynaf is offline  
Old 19 July 2016, 15:33   #60
demolition
Unregistered User
 
demolition's Avatar
 
Join Date: Sep 2012
Location: Copenhagen / DK
Age: 44
Posts: 4,190
Quote:
Originally Posted by meynaf View Post
Yet if you benchmark the average x86 vs the average arm, the arm is everything but impressive. I don't want that in my laptop.
The new ARM 64-bit platform that is coming out is nothing like the ARM performance we are used to. It is very promising and performance-wise much better than the predecessors so it can't be compared. I have heard from many places that unless Intel comes up with something significant very soon, they will lose a major part of the server market very rapidly.

The problem here with the consumer PC market is that people want to be able to run x86 code and because of that it is hard to move them to any other platform. Even if ARM's new 64 bit platform was 50% better than x86, it would still be uphill due to the lacking compatibility.
demolition is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Neat idea - borderless WinUAE and Amiga wallpaper Bloodwych Amiga scene 8 12 January 2011 23:58
2000 - black screen... Chips good... PSU good... chiark support.Hardware 45 09 January 2009 05:41
Mitser Org'oeil, good platformer in old style s2325 Retrogaming General Discussion 2 23 November 2008 21:58
good retro racer in Lotus/Outrun style s2325 Retrogaming General Discussion 4 27 May 2007 20:57
very good new racing PC game in old style s2325 Retrogaming General Discussion 1 20 February 2007 22:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:32.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.19403 seconds with 13 queries