Chromium Code Reviews| Index: src/trusted/validator_x86/testdata/64/mov-lea-rbp.tf |
| diff --git a/src/trusted/validator_x86/testdata/64/mov-lea-rbp.tf b/src/trusted/validator_x86/testdata/64/mov-lea-rbp.tf |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3109f299019e987497a5923d6b4e461bc0d8842a |
| --- /dev/null |
| +++ b/src/trusted/validator_x86/testdata/64/mov-lea-rbp.tf |
| @@ -0,0 +1,12 @@ |
| +BITS: 64 |
| +OUTCOME: valid |
| + |
| +# Sample of using lea solution (instead of add) to update rbp. |
| +# mov %ebp, %ecx |
| +# lea %rbp, [%rbp+%r15*1] |
| +asm: mov %ecx,%ebp |
| +hex: 89 cd |
| + |
| +asm: lea 0x0(%rbp,%r15,1),%rbp |
| +hex: 4a 8d 6c 3d 00 |
| + |