Topic: An OS that re-writes the instruction set of the cpu on the fly?  (Read 2065 times)

0 Members and 1 Guest are viewing this topic.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
An OS that re-writes the instruction set of the cpu on the fly?
« on: February 24, 2005, 06:07:30 pm »
Got to thinking about FPGAs and their under-utilisation in the consumer and high-end PC market...

So what do you think? Is it a crazy idea? Or is it a damn good one that I shouldn't have posted before making a patent application, lol... (I'm so lazy).

Usually most of my good ideas like this already exist or are beginning development.... anybody heard of such a thing?


Basically, what I'm proposing is an FPGA based computer with an OS designed around it such that it can redesign the cpu structures for the most efficient execution of the current tasks at hand. (not to mention that emulation of just about any hardware and OS should be a snap... the power and speed of FPGAs today are there...) I've never really used them though... perhaps they cannot be re-programmed in an automated fashion quickly enough...

Offline Nemesis

  • Captain Kayn
  • Global Moderator
  • Commodore
  • *
  • Posts: 13067
Re: An OS that re-writes the instruction set of the cpu on the fly?
« Reply #1 on: February 24, 2005, 06:26:25 pm »
It has been talked about before.  As far as I know it hasn't actually been done. 

The goals in those cases were:
Do a bug fix on a processor in use, think fixing the Pentium floating point bug on the fly.   

The secondary goal was to be able to boot as different CPUs to fun different programs.  Want to run SFC on your MAC?  Boot as a Pentium IV with windows and off you go.
Do unto others as Frey has done unto you.
Seti Team    Free Software
I believe truth and principle do matter. If you have to sacrifice them to get the results you want, then the results aren't worth it.
 FoaS_XC : "Take great pains to distinguish a criticism vs. an attack. A person reading a post should never be able to confuse the two."

Offline Monty

  • Lt. Junior Grade
  • *
  • Posts: 123
  • Gender: Male
Re: An OS that re-writes the instruction set of the cpu on the fly?
« Reply #2 on: February 25, 2005, 04:10:10 am »
Got to thinking about FPGAs and their under-utilisation in the consumer and high-end PC market...

So what do you think? Is it a crazy idea? Or is it a damn good one that I shouldn't have posted before making a patent application, lol... (I'm so lazy).

Usually most of my good ideas like this already exist or are beginning development.... anybody heard of such a thing?


Basically, what I'm proposing is an FPGA based computer with an OS designed around it such that it can redesign the cpu structures for the most efficient execution of the current tasks at hand. (not to mention that emulation of just about any hardware and OS should be a snap... the power and speed of FPGAs today are there...) I've never really used them though... perhaps they cannot be re-programmed in an automated fashion quickly enough...


Thought i would pipe in here - did an advanced computer architecture course last semester - my lecturer's research area was actually FPGAs! Lots of money in it.

You've gotten a few concepts in their which merit examination but I think maybe not together,

Rewriting the instruction set on the fly... that would be problomatic i think. The control unit of the processor itself would have to redesigned to understand the different instruction set architecture. That would then tie this in with your second (I'm presumming they were intended to be seperate) redesigning CPU structures:

This can be done and indeed has been done. This is called the FPGA soft-core approach where a number of control logic blocks effectively emmulate a processor core. When you need a different processor core you reconfigure the FPGA to suit your needs. You could even have multiple soft cores on the same FPGA if the board has enough CLBs.

Here is a very good resource on this:

http://www.xilinx.com/products/design_resources/proc_central/index.htm

The microblaze resource is probably the most relevent. Although this conceptually offers the flexibility you would be desiring... the processing power of a soft-core is limited compared to the CPU in your average home PC:

Quote
The MicroBlaze™ 32-bit soft processor core is the industry's fastest soft processing solution. Running at 150 MHz, the MicroBlaze processor delivers up to 120 DMIPs in the Virtex-II Pro for building complex systems for the networking, telecommunication, data communication, embedded and consumer markets. The MicroBlaze processor features a RISC architecture with Harvard-style separate 32-bit instruction and data busses running at full speed to execute programs and access data from both on-chip and external memory. A standard set of peripherals are also CoreConnect™ enabled to offer MicroBlaze designers compatibility and reuse


I'm not belittling this though. Current FPGA research areas include hetrogenous systems where you would have an ASIC, an x86 (like a pentium) and an FPGA all integrated so that the best platfrom is picked for the current task. My lecturers area of research was in the field of assisting a CPU with some specialised tasks (like matrix-vector artimetic, image processing etc) much in the same way that a flointing point unit was used in the old pentiums - with huge increases in performance for those particular tasks,

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: An OS that re-writes the instruction set of the cpu on the fly?
« Reply #3 on: February 25, 2005, 09:45:58 pm »
Current FPGA research areas include hetrogenous systems where you would have an ASIC, an x86 (like a pentium) and an FPGA all integrated so that the best platfrom is picked for the current task.

*goose bumps*

Gawd, I love it when you talk all dirty like that...

;)
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista