Index: src/trusted/validator_x86/testdata/64/update-rsp.tf |
diff --git a/src/trusted/validator_x86/testdata/64/update-rsp.tf b/src/trusted/validator_x86/testdata/64/update-rsp.tf |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1a65637653f4544d6b5c68c89ac7aa965cd3c5dc |
--- /dev/null |
+++ b/src/trusted/validator_x86/testdata/64/update-rsp.tf |
@@ -0,0 +1,12 @@ |
+BITS: 64 |
+OUTCOME: valid |
+ |
+# Sample of updating rps |
+# sub %esp, 0x8 |
+# add %rsp, %r15 |
+asm: sub $0x8,%esp |
+hex: 83 ec 08 |
+ |
+asm: add %r15,%rsp |
+hex: 4c 01 fc |
+ |