Skip to content

Instantly share code, notes, and snippets.

@eholk
Created January 22, 2016 19:09
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 eholk/2fd222b92d943e124fc3 to your computer and use it in GitHub Desktop.
Save eholk/2fd222b92d943e124fc3 to your computer and use it in GitHub Desktop.
define internal <4 x float> @testConstFloat4() {
; ASM-LABEL: testConstFloat4:
; DIS-LABEL: 00000000 <testConstFloat4>:
; IASM-LABEL: testConstFloat4:
entry:
ret <4 x float> <float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00>
; ASM: vadd.f32 q10, q10, q11
; DIS: 1c: ee3aaa0b
; IASM-NOT: vadd
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment