aboutsummaryrefslogtreecommitdiff
path: root/modules/arch/x86/tests/pushf-err.errwarn
diff options
context:
space:
mode:
Diffstat (limited to 'modules/arch/x86/tests/pushf-err.errwarn')
-rw-r--r--modules/arch/x86/tests/pushf-err.errwarn10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/arch/x86/tests/pushf-err.errwarn b/modules/arch/x86/tests/pushf-err.errwarn
new file mode 100644
index 0000000..498610b
--- /dev/null
+++ b/modules/arch/x86/tests/pushf-err.errwarn
@@ -0,0 +1,10 @@
+-:5: warning: `pushfq' is an instruction in 64-bit mode
+-:9: warning: `popfq' is an instruction in 64-bit mode
+-:15: warning: `pushfq' is an instruction in 64-bit mode
+-:15: error: redefinition of `pushfq'
+-:5: error: `pushfq' previously defined here
+-:19: warning: `popfq' is an instruction in 64-bit mode
+-:19: error: redefinition of `popfq'
+-:9: error: `popfq' previously defined here
+-:24: error: `pushfd' invalid in 64-bit mode
+-:28: error: `popfd' invalid in 64-bit mode