qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* Re: [Qemu-devel] [PATCH_v3] add target-openrisc floating point exception
@ 2012-12-10 14:16 陳韋任 (Wei-Ren Chen)
  0 siblings, 0 replies; 2+ messages in thread
From: 陳韋任 (Wei-Ren Chen) @ 2012-12-10 14:16 UTC (permalink / raw)
  To: Feng Gao; +Cc: qemu-devel

Hi Feng,

  One question,

> @@ -25,5 +25,5 @@  void HELPER(exception)(CPUOpenRISCState *env,
> uint32_t excp)
>  {
>      OpenRISCCPU *cpu = OPENRISC_CPU(ENV_GET_CPU(env));
>  
> -    raise_exception(cpu, excp);
> +    do_raise_exception(cpu, excp, 0);
>  }

  Shouldn't above helper function be called from the code cache?
The 3rd argument of do_raise_exception means if the exception comes
from code cache or not, iiuc. Is it correct to put zero here?

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj

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

end of thread, other threads:[~2012-12-10 14:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Feng Gao>
2012-12-06 23:53 ` [Qemu-devel] [PATCH_v3] add target-openrisc floating point exception Feng, Gao
2012-12-10 14:16 陳韋任 (Wei-Ren Chen)

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).