brintos

brintos / llvm-project-archived public Read only

0
0
Text · 763 B · 7cab766 Raw
24 lines · plain
1; RUN: llc -mtriple=arm-eabi -mattr=+vfp2 %s -o - | FileCheck %s -check-prefix=VFP22; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s -check-prefix=NFP03; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - | FileCheck %s -check-prefix=CORTEXA84; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a9 %s -o - | FileCheck %s -check-prefix=CORTEXA95 6define float @test(float %a, float %b) {7entry:8	%0 = fdiv float %a, %b9	ret float %010}11 12; VFP2-LABEL: test:13; VFP2: 	vdiv.f32	s{{.}}, s{{.}}, s{{.}}14 15; NFP1-LABEL: test:16; NFP1: 	vdiv.f32	s{{.}}, s{{.}}, s{{.}}17; NFP0-LABEL: test:18; NFP0: 	vdiv.f32	s{{.}}, s{{.}}, s{{.}}19 20; CORTEXA8-LABEL: test:21; CORTEXA8: 	vdiv.f32	s{{.}}, s{{.}}, s{{.}}22; CORTEXA9-LABEL: test:23; CORTEXA9: 	vdiv.f32	s{{.}}, s{{.}}, s{{.}}24