Skip to content

Instantly share code, notes, and snippets.

@Amanieu
Last active February 21, 2016 19:27
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 Amanieu/023335c64d219a509ec4 to your computer and use it in GitHub Desktop.
Save Amanieu/023335c64d219a509ec4 to your computer and use it in GitHub Desktop.
; Compile with llc -mtriple=<target> -filetype=asm test.ll
; Replace target with aarch64-linux-gnu, arm-linux-gnu, i386-linux-gnu, x86_64-linux-gnu, etc
; You can also try varying the operation or integer size
define i192 @test(i192 %a, i192 %b) nounwind {
%1 = udiv i192 %a, %b
ret i192 %1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment