search for: lfb11

Displaying 2 results from an estimated 2 matches for "lfb11".

Did you mean: lbb11
2012 Feb 09
3
[LLVMdev] x86-64 sign extension for parameters and return values
...xtended by the caller or callee and similarly whether return values should be sign extended by the caller or callee. Consider a simple 'signed char' division routine: signed char sdiv(signed char x, signed char y) { return x / y; } On my Fedora 16 Linux host GCC 4.6.2 produces: sdiv: .LFB11: .cfi_startproc movsbl %dil, %eax movsbl %sil, %esi movl %eax, %edx sarl $31, %edx idivl %esi ret where as clang 2.9 produces: sdiv: # @sdiv .Leh_func_begin0: # BB#0: movl %edi, %eax...
2012 Feb 23
0
[LLVMdev] x86-64 sign extension for parameters and return values
...values should be sign extended by the caller > or callee. > > Consider a simple 'signed char' division routine: > > signed char sdiv(signed char x, signed char y) > { >  return x / y; > } > > On my Fedora 16 Linux host GCC 4.6.2 produces: > > sdiv: > .LFB11: >        .cfi_startproc >        movsbl  %dil, %eax >        movsbl  %sil, %esi >        movl    %eax, %edx >        sarl    $31, %edx >        idivl   %esi >        ret > > where as clang 2.9 produces: > > sdiv:                                   # @sdiv > .Leh_...