English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
More registers in modern day CPUs
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-09-06 (06:20)
From: Tom <tom.primozic@g...>
Subject: More registers in modern day CPUs
(This question may not be OCaml specific, but I guess it is not specific at
all, and there are quite some people here that have implemented compilers,
so I post it here...)

I was thinking about compiler implementation recently, and figured that it
is difficult to design the compiler for a variable number of hardware
registers - compared for designing a compiler witha fixed number of

However, would it be possible to "emulate" cpu registers using software? By
keeping registers in the main memory, but accessing them often enough to
keep them in primary cache? That would be quite fast I believe...

 - Tom