Skip to contentSkip to conversation

add target-openrisc floating point exception

Qemu-devel 陳韋任 (Wei-Ren Chen) 1 participant 1 message Dec 10, 2012

lore
Share & tools
lore
#0 lore raw

Hi Feng,

One question,

Quoted 8 lines
(quoted diff) +1 -1
@@ -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

Signature · 5 lines
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