ARC: entry: EV_Trap expects r10 (vs. r9) to have exception cause
avoids 1 MOV instruction in light of double load/store code Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
@@ -95,9 +95,8 @@
|
||||
lr r10, [ecr]
|
||||
lr r11, [erbta]
|
||||
ST2 r10, r11, PT_event
|
||||
mov r9, r10
|
||||
|
||||
; OUTPUT: r9 has ECR
|
||||
; OUTPUT: r10 has ECR expected by EV_Trap
|
||||
.endm
|
||||
|
||||
/*------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user