2014-05-07 15:54:11 +08:00
|
|
|
# RUN: llvm-mc %s -triple=x86_64-unknown-linux-gnu -mcpu=corei7 -mattr=+sse2 -asm-instrumentation=address -asan-instrument-assembly | FileCheck %s
|
2014-03-14 16:58:04 +08:00
|
|
|
|
|
|
|
.text
|
|
|
|
.globl mov1b
|
|
|
|
.align 16, 0x90
|
|
|
|
.type mov1b,@function
|
|
|
|
# CHECK-LABEL: mov1b:
|
|
|
|
#
|
2014-05-08 17:55:24 +08:00
|
|
|
# CHECK: leaq -128(%rsp), %rsp
|
2014-07-07 21:57:37 +08:00
|
|
|
# CHECK: callq __asan_report_load1@PLT
|
|
|
|
# CHECK: leaq 128(%rsp), %rsp
|
2014-03-14 16:58:04 +08:00
|
|
|
#
|
2014-10-07 19:03:09 +08:00
|
|
|
# CHECK: movb (%rsi), %al
|
2014-03-14 16:58:04 +08:00
|
|
|
#
|
2014-10-07 19:03:09 +08:00
|
|
|
# CHECK: leaq -128(%rsp), %rsp
|
2014-07-07 21:57:37 +08:00
|
|
|
# CHECK: callq __asan_report_store1@PLT
|
|
|
|
# CHECK: leaq 128(%rsp), %rsp
|
2014-03-14 16:58:04 +08:00
|
|
|
#
|
2014-10-07 19:03:09 +08:00
|
|
|
# CHECK: movb %al, (%rdi)
|
2014-03-14 16:58:04 +08:00
|
|
|
mov1b: # @mov1b
|
|
|
|
.cfi_startproc
|
2017-12-05 01:18:51 +08:00
|
|
|
# %bb.0:
|
2014-03-14 16:58:04 +08:00
|
|
|
#APP
|
|
|
|
movb (%rsi), %al
|
|
|
|
movb %al, (%rdi)
|
|
|
|
|
|
|
|
#NO_APP
|
|
|
|
retq
|
|
|
|
.Ltmp0:
|
|
|
|
.size mov1b, .Ltmp0-mov1b
|
|
|
|
.cfi_endproc
|
|
|
|
|
|
|
|
.globl mov16b
|
|
|
|
.align 16, 0x90
|
|
|
|
.type mov16b,@function
|
|
|
|
# CHECK-LABEL: mov16b:
|
|
|
|
#
|
2014-05-08 17:55:24 +08:00
|
|
|
# CHECK: leaq -128(%rsp), %rsp
|
2014-07-07 21:57:37 +08:00
|
|
|
# CHECK: callq __asan_report_load16@PLT
|
|
|
|
# CHECK: leaq 128(%rsp), %rsp
|
2014-03-14 16:58:04 +08:00
|
|
|
#
|
2014-10-07 19:03:09 +08:00
|
|
|
# CHECK: movaps (%rsi), %xmm0
|
2014-03-14 16:58:04 +08:00
|
|
|
#
|
2014-10-07 19:03:09 +08:00
|
|
|
# CHECK: leaq -128(%rsp), %rsp
|
2014-07-07 21:57:37 +08:00
|
|
|
# CHECK: callq __asan_report_store16@PLT
|
|
|
|
# CHECK: leaq 128(%rsp), %rsp
|
2014-03-14 16:58:04 +08:00
|
|
|
#
|
2014-10-07 19:03:09 +08:00
|
|
|
# CHECK: movaps %xmm0, (%rdi)
|
2014-03-14 16:58:04 +08:00
|
|
|
mov16b: # @mov16b
|
|
|
|
.cfi_startproc
|
2017-12-05 01:18:51 +08:00
|
|
|
# %bb.0:
|
2014-03-14 16:58:04 +08:00
|
|
|
#APP
|
|
|
|
movaps (%rsi), %xmm0
|
|
|
|
movaps %xmm0, (%rdi)
|
|
|
|
|
|
|
|
#NO_APP
|
|
|
|
retq
|
|
|
|
.Ltmp1:
|
|
|
|
.size mov16b, .Ltmp1-mov16b
|
|
|
|
.cfi_endproc
|
|
|
|
|
|
|
|
|
|
|
|
.ident "clang version 3.5 "
|
|
|
|
.section ".note.GNU-stack","",@progbits
|