You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like we are not always executing system call exceptions when single stepping. We should see 10 system call exceptions and 23 single step exceptions. We only see 1 system call exception (a result of the second of the two back to back sc instructions).
/* Load an immediate 64-bit value into a register */
#define LOAD_IMM64(r, e) \
lis r,(e)@highest; \
ori r,r,(e)@higher; \
rldicr r,r, 32, 31; \
oris r,r, (e)@h; \
ori r,r, (e)@l;
#define MSR_SE (1UL << 10)
// r30 number of trace exceptions
// r31 number of system call exceptions
. = 0x0
li 30,0
li 31,0
li 0,0x100
mtsrr0 0
mfmsr 0
LOAD_IMM64(2, MSR_SE)
or 0,0,2
mtsrr1 0
rfid
. = 0x100
nop
sc
nop
sc
nop
nop
sc
nop
nop
nop
sc
nop
nop
nop
nop
sc
nop
nop
nop
nop
nop
sc
nop
nop
nop
nop
nop
sc
divd 0,0,0
sc
nop
sc
sc
trap
. = 0x700
attn
. = 0xc00
addi 31,31,1
rfid
. = 0xd00
addi 30,30,1
rfid
It looks like we are not always executing system call exceptions when single stepping. We should see 10 system call exceptions and 23 single step exceptions. We only see 1 system call exception (a result of the second of the two back to back sc instructions).
...
The text was updated successfully, but these errors were encountered: