提交 41a6ba09 编写于 作者: I Isaku Yamahata 提交者: Tony Luck

ia64/pv_ops: update native/inst.h to clobber predicate.

add CLOBBER_PRED() to clobber predicate register.
Signed-off-by: NIsaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: NTony Luck <tony.luck@intel.com>
上级 ce1fc742
...@@ -36,8 +36,13 @@ ...@@ -36,8 +36,13 @@
;; \ ;; \
movl clob = PARAVIRT_POISON; \ movl clob = PARAVIRT_POISON; \
;; ;;
# define CLOBBER_PRED(pred_clob) \
;; \
cmp.eq pred_clob, p0 = r0, r0 \
;;
#else #else
# define CLOBBER(clob) /* nothing */ # define CLOBBER(clob) /* nothing */
# define CLOBBER_PRED(pred_clob) /* nothing */
#endif #endif
#define MOV_FROM_IFA(reg) \ #define MOV_FROM_IFA(reg) \
...@@ -136,7 +141,8 @@ ...@@ -136,7 +141,8 @@
#define SSM_PSR_I(pred, pred_clob, clob) \ #define SSM_PSR_I(pred, pred_clob, clob) \
(pred) ssm psr.i \ (pred) ssm psr.i \
CLOBBER(clob) CLOBBER(clob) \
CLOBBER_PRED(pred_clob)
#define RSM_PSR_I(pred, clob0, clob1) \ #define RSM_PSR_I(pred, clob0, clob1) \
(pred) rsm psr.i \ (pred) rsm psr.i \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册