Skip to content

Instantly share code, notes, and snippets.

@patshaughnessy
Created January 3, 2014 14:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patshaughnessy/8239149 to your computer and use it in GitHub Desktop.
Save patshaughnessy/8239149 to your computer and use it in GitHub Desktop.
x86_64 assembly language generated for MRI rb_obj_not (object.c line 186)
_rb_obj_not: ## @rb_obj_not
.cfi_startproc
Lfunc_begin7:
.loc 1 185 0 ## object.c:185:0
## BB#0:
pushq %rbp
Ltmp90:
.cfi_def_cfa_offset 16
Ltmp91:
.cfi_offset %rbp, -16
movq %rsp, %rbp
Ltmp92:
.cfi_def_cfa_register %rbp
##DEBUG_VALUE: rb_obj_not:obj <- RDI+0
xorl %ecx, %ecx
movl $20, %eax
.loc 1 186 0 prologue_end ## object.c:186:0
Ltmp93:
testq $-9, %rdi
cmovneq %rcx, %rax
popq %rbp
ret
Ltmp94:
Lfunc_end7:
.cfi_endproc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment