qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] tcg_temp_local_new should take no parameter


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH] tcg_temp_local_new should take no parameter
Date: Fri, 2 Jan 2009 04:36:01 +0000
User-agent: KMail/1.9.9

> The SH4 emulation seems to use 'plain' TCGv mostly, expects it to be
> 32-bits, and doesn't use the _tl macros, which I suppose is reasonable
> for a 32-bit only target.
>
> Alpha, ARM and M68K do something similar (so I'll try to follow the
> style that they use) but CRIS uses _tl a lot, which seems peculiar...

The distinction only really makes sense on CPUs that have both 32-bit and 
64-bit variants.  Chances are that if a 64-bit arm/m68k/cris cpu were to 
exist then most of the code would need auditing anyway, so it's mostly a 
matter of personal preference which is used.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]