projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1fc74
)
ia64/pv_ops: update native/inst.h to clobber predicate.
author
Isaku Yamahata
<yamahata@valinux.co.jp>
Fri, 17 Oct 2008 02:17:43 +0000
(11:17 +0900)
committer
Tony Luck
<tony.luck@intel.com>
Fri, 17 Oct 2008 16:51:36 +0000
(09:51 -0700)
add CLOBBER_PRED() to clobber predicate register.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/include/asm/native/inst.h
patch
|
blob
|
blame
|
history
diff --git
a/arch/ia64/include/asm/native/inst.h
b/arch/ia64/include/asm/native/inst.h
index c8efbf7b849ef4959f606bd6e4d3afd0b78f9199..0a1026cca4fab0bd68d4ca1158dfb3466c580729 100644
(file)
--- a/
arch/ia64/include/asm/native/inst.h
+++ b/
arch/ia64/include/asm/native/inst.h
@@
-36,8
+36,13
@@
;; \
movl clob = PARAVIRT_POISON; \
;;
+# define CLOBBER_PRED(pred_clob) \
+ ;; \
+ cmp.eq pred_clob, p0 = r0, r0 \
+ ;;
#else
-# define CLOBBER(clob) /* nothing */
+# define CLOBBER(clob) /* nothing */
+# define CLOBBER_PRED(pred_clob) /* nothing */
#endif
#define MOV_FROM_IFA(reg) \
@@
-136,7
+141,8
@@
#define SSM_PSR_I(pred, pred_clob, clob) \
(pred) ssm psr.i \
- CLOBBER(clob)
+ CLOBBER(clob) \
+ CLOBBER_PRED(pred_clob)
#define RSM_PSR_I(pred, clob0, clob1) \
(pred) rsm psr.i \