Kaynağa Gözat

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 yıl önce
committed by CQ bot account: commit-bot@chromium.org
ebeveyn
işleme
c5cc88d800
2 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet