brintos

brintos / llvm-project-archived public Read only

0
0
Text · 725 B · 5410387 Raw
19 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=x86_64-linux -mattr=+sse4.2 | FileCheck %s --check-prefixes=ELF3; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+sse4.2 | FileCheck %s --check-prefixes=DARWIN4 5define <4 x i32> @test(<4 x i32> %a) nounwind {6; ELF-LABEL: test:7; ELF:       # %bb.0:8; ELF-NEXT:    andnps {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm09; ELF-NEXT:    retq10;11; DARWIN-LABEL: test:12; DARWIN:       ## %bb.0:13; DARWIN-NEXT:    andnps {{\.?LCPI[0-9]+_[0-9]+}}(%rip), %xmm014; DARWIN-NEXT:    retq15  %1 = and <4 x i32> %a, <i32 4096, i32 4096, i32 4096, i32 4096>16  %2 = xor <4 x i32> %1, <i32 4096, i32 4096, i32 4096, i32 4096>17  ret <4 x i32> %218}19