search for: pushdi2_rex64

Displaying 3 results from an estimated 3 matches for "pushdi2_rex64".

2012 Mar 02
3
[LLVMdev] how to annotate assembler
Hi, In GCC there is one useful option -dp (or -dP for more verbose output) to annotate assembler with instruction patterns, that was used when assembler was generated. For example: double test(long long s) { return s; } gcc -S -dp -O0 test.c test: .LFB0: .cfi_startproc pushq %rbp # 18 *pushdi2_rex64/1 [length = 1] .cfi_def_cfa_offset 16 movq %rsp, %rbp # 19 *movdi_1_rex64/2 [length = 3] .cfi_offset 6, -16 .cfi_def_cfa_register 6 movq %rdi, -8(%rbp) # 2 *movdi_1_rex64/4 [length = 4] cvtsi2sdq -8(%rbp), %xmm0 # 6 *floatdidf2_sse_interunit/2 [length = 6] leave # 24 leave_re...
2012 Mar 02
0
[LLVMdev] how to annotate assembler
...## <MCOperand Reg:106>> ret ## <MCInst #2227 RET> .cfi_endproc - Ben > > double > test(long long s) > { > return s; > } > > gcc -S -dp -O0 test.c > > test: > .LFB0: > .cfi_startproc > pushq %rbp # 18 *pushdi2_rex64/1 [length = 1] > .cfi_def_cfa_offset 16 > movq %rsp, %rbp # 19 *movdi_1_rex64/2 [length = 3] > .cfi_offset 6, -16 > .cfi_def_cfa_register 6 > movq %rdi, -8(%rbp) # 2 *movdi_1_rex64/4 [length = 4] > cvtsi2sdq -8(%rbp), %xmm0 # 6 *floatdidf2_sse_interunit/2 [length = 6...
2012 Mar 02
2
[LLVMdev] how to annotate assembler
...<MCInst #2227 RET> >        .cfi_endproc > > - Ben > >> >> double >> test(long long s) >> { >>  return s; >> } >> >> gcc -S -dp -O0 test.c >> >> test: >> .LFB0: >>  .cfi_startproc >>  pushq %rbp  # 18  *pushdi2_rex64/1  [length = 1] >>  .cfi_def_cfa_offset 16 >>  movq  %rsp, %rbp  # 19  *movdi_1_rex64/2  [length = 3] >>  .cfi_offset 6, -16 >>  .cfi_def_cfa_register 6 >>  movq  %rdi, -8(%rbp)  # 2 *movdi_1_rex64/4  [length = 4] >>  cvtsi2sdq -8(%rbp), %xmm0 # 6 *floatdidf2_sse...