ソースを参照

Test that movsd without arguments is left as-is.

This works fine, but probably worth a test.

Change-Id: If060b473958c1664e450102cafe0ca28951bff49
Reviewed-on: https://boringssl-review.googlesource.com/20444
Reviewed-by: Adam Langley <agl@google.com>
Commit-Queue: Adam Langley <agl@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
kris/onging/CECPQ3_patch15
David Benjamin 7年前
committed by CQ bot account: commit-bot@chromium.org
コミット
c5cc88d800
2個のファイルの変更6行の追加0行の削除
  1. +3
    -0
      util/fipstools/testdata/x86_64-GOTRewrite/in.s
  2. +3
    -0
      util/fipstools/testdata/x86_64-GOTRewrite/out.s

+ 3
- 0
util/fipstools/testdata/x86_64-GOTRewrite/in.s ファイルの表示

@@ -26,6 +26,9 @@ foo:
movsd foo@GOTPCREL(%rip), %xmm0
vmovsd foo@GOTPCREL(%rip), %xmm0

# movsd without arguments should be left as-is.
movsd

# Synthesized symbols do not use the GOT.
movq BORINGSSL_bcm_text_start@GOTPCREL(%rip), %r11
movq foobar_bss_get@GOTPCREL(%rip), %r11


+ 3
- 0
util/fipstools/testdata/x86_64-GOTRewrite/out.s ファイルの表示

@@ -113,6 +113,9 @@ foo:
popq %rax
leaq 128(%rsp), %rsp

# movsd without arguments should be left as-is.
movsd

# Synthesized symbols do not use the GOT.
# WAS movq BORINGSSL_bcm_text_start@GOTPCREL(%rip), %r11
leaq BORINGSSL_bcm_text_start(%rip), %r11


読み込み中…
キャンセル
保存