qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays
@ 2006-09-08 19:26 Blue Swirl
  2006-09-12  0:17 ` Stuart Brady
  0 siblings, 1 reply; 15+ messages in thread
From: Blue Swirl @ 2006-09-08 19:26 UTC (permalink / raw)
  To: igor.v.kovalenko; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

>It must be hanging while probing for sound modules, try adding 'blacklist
>snd-sun-cs4231' to /etc/modules.d/blacklist

This patch should fix hanging, unless some program waits until playback is 
finished.

Implementing full audio support for CS4231 would not be too difficult. Is 
this chip used anywhere else? The data sheet mentions some ISA card and 
Windows 3.1.

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

[-- Attachment #2: cs4231.diff.bz2 --]
[-- Type: application/octet-stream, Size: 2620 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [Qemu-devel] ARM CPU Speed simulated by Qemu?
@ 2006-09-12 14:44 Laurent DESNOGUES
  2006-09-12 14:58 ` Markus Schiltknecht
  2006-09-12 17:42 ` K. Richard Pixley
  0 siblings, 2 replies; 15+ messages in thread
From: Laurent DESNOGUES @ 2006-09-12 14:44 UTC (permalink / raw)
  To: qemu-devel

> Now, CPUs is where I have only a vague idea of what would be needed to 
> simulate. I know there are up to three levels of caches and main memory, 
> which all have different access times. The CPU itself has a pipeline and 
> branch prediction and such which could invalidate the contents of 
> pipeline up to a given point (of branching).
> 
> I think the most time consuming operation which should be properly 
> simulated is memory access. For this to work properly, all levels of 
> caches must be emulated, too.
> 
> How much do misses on the branch prediction level cost? How much 
> pipeline interlocks? I don't think those would be _that_ dramatic. Since 
> today's compilers are said to be optimizing quite well...

The most complex thing to accurately simulate a modern
CPU (including ARMs) is the data cache and by far.  In
comparison, getting accurate core pipeline simulation
is *very* easy.

There is a company that claims to be able to accurately
simulate an at 200 Mhz (http://www.vastsystems.com).  I
bet there are using statistical cycle counting and so
are probably very wrong :)


Laurent

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [Qemu-devel] ARM CPU Speed simulated by Qemu?
@ 2006-09-12 15:08 Laurent DESNOGUES
  2006-09-12 15:19 ` Markus Schiltknecht
  0 siblings, 1 reply; 15+ messages in thread
From: Laurent DESNOGUES @ 2006-09-12 15:08 UTC (permalink / raw)
  To: Markus Schiltknecht, qemu-devel

> > The most complex thing to accurately simulate a modern
> > CPU (including ARMs) is the data cache and by far. 
> 
> Hm... you have to elaborate on that one. Aren't those caches like other 
> caches, too? With well known algorithms like LRU?

Data caches typically do many things in one cycle;  for
instance, if you make a load, it could start looking in
a small area between the cache and the core (called
write or store buffer) and at the same time look into
the real cache to find the data;  then depending on the
outcome, an external request could be started, this
cycle or later depending on previous requests still
pending.  And this is a simple example ;)

On top of that try to find a specification for data
side behaviour, these beasts are not documented for
two reasons:
- they are heavily optimized and so not easily
  described
- they often define the efficiency of a CPU and
  so are considered as secret.

> Simulating branch prediction seems more complex to me (probably because 
> I'm thinking x86, not ARM).

Branch prediction has become very complex on ARM
but not as much as data side.


Laurent

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: [Qemu-devel] ARM CPU Speed simulated by Qemu?
@ 2006-09-12 15:26 Laurent DESNOGUES
  0 siblings, 0 replies; 15+ messages in thread
From: Laurent DESNOGUES @ 2006-09-12 15:26 UTC (permalink / raw)
  To: Markus Schiltknecht; +Cc: qemu-devel

> > On top of that try to find a specification for data

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2006-09-12 17:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08 19:26 [Qemu-devel] Re: qemu-system-sparc video problem on 16 bitdisplays Blue Swirl
2006-09-12  0:17 ` Stuart Brady
2006-09-12  7:20   ` [Qemu-devel] ARM CPU Speed simulated by Qemu? Tieu Ma Dau
2006-09-12 11:03     ` nyos
2006-09-12 12:43     ` Paul Brook
2006-09-12 13:19       ` Markus Schiltknecht
2006-09-12 13:39         ` Paul Brook
2006-09-12 14:21           ` Markus Schiltknecht
2006-09-12 14:34             ` Paul Brook
  -- strict thread matches above, loose matches on Subject: below --
2006-09-12 14:44 Laurent DESNOGUES
2006-09-12 14:58 ` Markus Schiltknecht
2006-09-12 17:42 ` K. Richard Pixley
2006-09-12 15:08 Laurent DESNOGUES
2006-09-12 15:19 ` Markus Schiltknecht
2006-09-12 15:26 Laurent DESNOGUES

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).