Didn't the Dreamcast WinCE have only the core Windows stuff and DirectX, no GUI?Combuster wrote:Even better: Hitachi SH-4 with Windows CE (dreamcast, anyone?).
Stupid x86/ x86-64
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Stupid x86/ x86-64
- steveklabnik
- Member
- Posts: 72
- Joined: Wed Jan 28, 2009 4:30 pm
Re: Stupid x86/ x86-64
Troy Martin wrote:I've started writing an open-source 16-bit processor in C that could very easily be made 32-bit or higher. I'm planning on releasing it as soon as I finish the CSR system (Call Service Routine) and a simple assembler.
A processor? In C? Do you mean a VM, too? Or are you writing a processor simulator?
Re: Stupid x86/ x86-64
AT&T's Hobbit is how I interpreted it on the first pass.steveklabnik wrote:Troy Martin wrote:I've started writing an open-source 16-bit processor in C that could very easily be made 32-bit or higher. I'm planning on releasing it as soon as I finish the CSR system (Call Service Routine) and a simple assembler.
A processor? In C? Do you mean a VM, too? Or are you writing a processor simulator?
- steveklabnik
- Member
- Posts: 72
- Joined: Wed Jan 28, 2009 4:30 pm
Re: Stupid x86/ x86-64
Interesting... a C machine... I guess this makes sense. I'd heard about the good 'ol Lisp machines, I guess there's no reason why there couldn't be a C one...
- Colonel Kernel
- Member
- Posts: 1437
- Joined: Tue Oct 17, 2006 6:06 pm
- Location: Vancouver, BC, Canada
- Contact:
Re: Stupid x86/ x86-64
PowerPC rocks! Where else can you find instructions like stfsux and eieio?
Top three reasons why my OS project died:
- Too much overtime at work
- Got married
- My brain got stuck in an infinite loop while trying to design the memory manager
- Combuster
- Member
- Posts: 9301
- Joined: Wed Oct 18, 2006 3:45 am
- Libera.chat IRC: [com]buster
- Location: On the balcony, where I can actually keep 1½m distance
- Contact:
Re: Stupid x86/ x86-64
ROFLColonel Kernel wrote:PowerPC rocks! Where else can you find instructions like stfsux and eieio?
Re: Stupid x86/ x86-64
[/quote]I just wish intel or amd would start making RISC desktops(processors that is).[/quote]
x86 is pretty much RISC once you get past the microcode stage. That's why their pipeline is so long.
And yes, enforce in-order execution of i/o is my favourite instruction. Blatantly designed around the acronym, similar to the Continuous Unnecessary Notification Test that was invented at my place of work last year. (No, that is not made up.).
x86 is pretty much RISC once you get past the microcode stage. That's why their pipeline is so long.
And yes, enforce in-order execution of i/o is my favourite instruction. Blatantly designed around the acronym, similar to the Continuous Unnecessary Notification Test that was invented at my place of work last year. (No, that is not made up.).
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Stupid x86/ x86-64
Actually what I meant was I'm writing a processor emulator in C for a processor I designed.
-
- Member
- Posts: 204
- Joined: Thu Apr 12, 2007 8:15 am
- Location: Michigan
Re: Stupid x86/ x86-64
Did you design a processor (you'd probably have done this in an HDL), or an ISA (you've come up with opcodes and planned out how the opcodes and the necessary operands will be encoded into appropriately-sized words, etc)?Troy Martin wrote:Actually what I meant was I'm writing a processor emulator in C for a processor I designed.
Some people are offended by the verifiable truth; such people tend to remain blissfully unencumbered by fact.
If you are one of these people, my posts may cause considerable discomfort. Read at your own risk.
If you are one of these people, my posts may cause considerable discomfort. Read at your own risk.
- AndrewAPrice
- Member
- Posts: 2299
- Joined: Mon Jun 05, 2006 11:00 pm
- Location: USA (and Australia)
Re: Stupid x86/ x86-64
Until I looked up what EIEIO did (Enforce In-Order Execution of I/O) I thought it might have started playing Old MacDonald Had A Farm EIEIO!Colonel Kernel wrote:eieio
My OS is Perception.
- Troy Martin
- Member
- Posts: 1686
- Joined: Fri Apr 18, 2008 4:40 pm
- Location: Langley, Vancouver, BC, Canada
- Contact:
Re: Stupid x86/ x86-64
ISA.madeofstaples wrote:Did you design a processor (you'd probably have done this in an HDL), or an ISA (you've come up with opcodes and planned out how the opcodes and the necessary operands will be encoded into appropriately-sized words, etc)?Troy Martin wrote:Actually what I meant was I'm writing a processor emulator in C for a processor I designed.
Re: Stupid x86/ x86-64
I'm still waiting for asynchronous CPUs to become popular... the days where things aren't measured in dumb clock cycles and just cause div takes a long clock cycle to complete, doesn't mean a nop should have the same long clock cycle. (plus power saving would be awesome)
-
- Member
- Posts: 524
- Joined: Sun Nov 09, 2008 2:55 am
- Location: Pennsylvania, USA
Re: Stupid x86/ x86-64
Don't Intels (and probably AMDs) processors already do this? I remember reading somewhere that add is 3 clocks and div is 7 clocks or something like that.
Re: Stupid x86/ x86-64
Perhaps I have also misunderstood you, earlz. If a nop and a div take the same amount of time, wouldn't that be a single-cycle machine? The x86 has been pipelined for years now (one of the reasons why the underlying design is a RISC), so it shouldn't suffer from that. Forgoing branch prediction and other worst-case situations, the throughput should be much better than any 1 single instruction's time.
Re: Stupid x86/ x86-64
actually, even on the 8088, different instructions took different numbers of cycles
current CPUs not only use multiple cycles per instruction, but also allow instructions to take less than a cycle (for example, on northwood and later, each ALU can perform add and subtract instructions in half a cycle, meaning each one can perform 2 per cycle, with northwood, one of them could do the same with multiplication (but the others take longer) but beginning with prescott all ALUs can perform multiplication in a single half-cycle
several years ago, the number of cycles an instruction takes got to be so well hidden behind unpredictable timing issues, that intel declared it to be completely useless information, and stopped printing charts with this information
current CPUs not only use multiple cycles per instruction, but also allow instructions to take less than a cycle (for example, on northwood and later, each ALU can perform add and subtract instructions in half a cycle, meaning each one can perform 2 per cycle, with northwood, one of them could do the same with multiplication (but the others take longer) but beginning with prescott all ALUs can perform multiplication in a single half-cycle
several years ago, the number of cycles an instruction takes got to be so well hidden behind unpredictable timing issues, that intel declared it to be completely useless information, and stopped printing charts with this information