qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] tci: fix build breakage for target-sparc


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH] tci: fix build breakage for target-sparc
Date: Mon, 08 Oct 2012 15:19:48 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1

On 10/08/2012 01:45 PM, Michael Roth wrote:
>  /* Alpha and SH4 user mode emulations and Softmmu call GETPC().
>     For all others, GETPC remains undefined (which makes TCI a little faster. 
> */
> -# if defined(CONFIG_SOFTMMU) || defined(TARGET_ALPHA) || defined(TARGET_SH4)
> +# if defined(CONFIG_SOFTMMU) || defined(TARGET_ALPHA) || defined(TARGET_SH4) 
> \
> +     || defined(TARGET_SPARC)
>  extern uintptr_t tci_tb_ptr;
>  #  define GETPC() tci_tb_ptr

Why is this conditional?  All targets probably ought to be using it
when raising runtime exceptions -- particularly fp exceptions.


r~



reply via email to

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