From ed71316e2bf64d77b57b93880f8ae384cf407da0 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Mon, 20 Feb 2017 13:06:02 -0800 Subject: [PATCH] test/pcrel.asm: make test output a bit easier to understand Make the output of the test a bit easier to pick apart. Signed-off-by: H. Peter Anvin --- test/pcrel.asm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/pcrel.asm b/test/pcrel.asm index 239e8cb8..53e0aa41 100644 --- a/test/pcrel.asm +++ b/test/pcrel.asm @@ -19,24 +19,26 @@ foo: ; Backwards reference bits 64 default rel + times 16 nop + mov eax,[foo] mov eax,[foo - $] mov eax,[abs foo - $] - mov ebx,[ebx + foo - $] + mov ebx,[rbx + foo - $] mov ecx,foo - $ mov edx,foo - bar mov eax,[bar] mov eax,[bar - $] mov eax,[abs bar - $] - mov ebx,[ebx + bar - $] + mov ebx,[rbx + bar - $] mov ecx,bar - $ mov edx,bar - foo mov eax,[baz] mov eax,[baz - $] mov eax,[abs baz - $] - mov ebx,[ebx + baz - $] + mov ebx,[rbx + baz - $] mov esi,[baz - bar] mov esi,[abs baz - bar] mov ecx,baz - $