summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7/opdefs/yield_A88426.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/v7/opdefs/yield_A88426.d')
-rw-r--r--src/arch/arm/v7/opdefs/yield_A88426.d27
1 files changed, 15 insertions, 12 deletions
diff --git a/src/arch/arm/v7/opdefs/yield_A88426.d b/src/arch/arm/v7/opdefs/yield_A88426.d
index c0b4be0..252c018 100644
--- a/src/arch/arm/v7/opdefs/yield_A88426.d
+++ b/src/arch/arm/v7/opdefs/yield_A88426.d
@@ -2,7 +2,7 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
* ##FILE## - traduction d'instructions ARMv7
*
- * Copyright (C) 2014 Cyrille Bagard
+ * Copyright (C) 2015 Cyrille Bagard
*
* This file is part of Chrysalide.
*
@@ -23,28 +23,31 @@
@title YIELD
-@encoding(t1) {
+@desc YIELD is a hint instruction. Software with a multithreading capability can use a YIELD instruction to indicate to the hardware that it is performing a task, for example a spin-lock, that could be swapped out to improve overall system performance. Hardware can use this hint to suspend and resume multiple software threads if it supports the capability. For more information about the recommended use of this instruction see The Yield instruction on page A4-178.
- @half 1 0 1 1 1 1 1 1 0 0 0 1 0 0 0 0
+@encoding (t1) {
+
+ @half 1 0 1 1 1 1 1 1 0 0 0 1 0 0 0 0
}
-@encoding(T2) {
+@encoding (T2) {
- @word 1 1 1 1 0 0 1 1 1 0 1 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
+ @word 1 1 1 1 0 0 1 1 1 0 1 0 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
-}
+ @syntax ".W"
-@encoding(A1) {
+}
- @word cond(4) 0 0 1 1 0 0 1 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1
+@encoding (A1) {
- @syntax {c}
+ @word cond(4) 0 0 1 1 0 0 1 0 0 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 1
- @conv {
+ @rules {
- c = Condition(cond)
+ chk_call StoreCondition(cond)
- }
+ }
}
+