Paste: i13 example

Author: j
Mode: text
Date: Sun, 1 Apr 2012 03:32:43
Plain Text |
define i1 @foo(i13 %x, i13 %y) nounwind {
  %1 = add i13 %x, %y
  %2 = sub i13 %x, %y
  %3 = icmp slt i13 %1, %2
  ret i1 %3
}

Annotation: x86 output

Author: j
Mode: text
Date: Sun, 1 Apr 2012 03:33:08
Plain Text |
foo:                                    # @foo
# BB#0:
	movzwl	8(%esp), %edx
	movzwl	4(%esp), %eax
	leal	(%eax,%edx), %ecx
	subl	%edx, %eax
	shll	$3, %eax
	sarw	$3, %ax
	shll	$3, %ecx
	sarw	$3, %cx
	cmpw	%ax, %cx
	setl	%al
	ret

New Annotation

Summary:
Author:
Mode:
Body: