1*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=arm-eabi -mattr=+vfp2 %s -o - | FileCheck %s -check-prefix=VFP2 2*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=arm-eabi -mattr=+neon %s -o - | FileCheck %s -check-prefix=NFP0 3*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a8 %s -o - | FileCheck %s -check-prefix=CORTEXA8 4*9880d681SAndroid Build Coastguard Worker; RUN: llc -mtriple=arm-eabi -mcpu=cortex-a9 %s -o - | FileCheck %s -check-prefix=CORTEXA9 5*9880d681SAndroid Build Coastguard Worker 6*9880d681SAndroid Build Coastguard Workerdefine float @test(float %a, float %b) { 7*9880d681SAndroid Build Coastguard Workerentry: 8*9880d681SAndroid Build Coastguard Worker %0 = fdiv float %a, %b 9*9880d681SAndroid Build Coastguard Worker ret float %0 10*9880d681SAndroid Build Coastguard Worker} 11*9880d681SAndroid Build Coastguard Worker 12*9880d681SAndroid Build Coastguard Worker; VFP2-LABEL: test: 13*9880d681SAndroid Build Coastguard Worker; VFP2: vdiv.f32 s{{.}}, s{{.}}, s{{.}} 14*9880d681SAndroid Build Coastguard Worker 15*9880d681SAndroid Build Coastguard Worker; NFP1-LABEL: test: 16*9880d681SAndroid Build Coastguard Worker; NFP1: vdiv.f32 s{{.}}, s{{.}}, s{{.}} 17*9880d681SAndroid Build Coastguard Worker; NFP0-LABEL: test: 18*9880d681SAndroid Build Coastguard Worker; NFP0: vdiv.f32 s{{.}}, s{{.}}, s{{.}} 19*9880d681SAndroid Build Coastguard Worker 20*9880d681SAndroid Build Coastguard Worker; CORTEXA8-LABEL: test: 21*9880d681SAndroid Build Coastguard Worker; CORTEXA8: vdiv.f32 s{{.}}, s{{.}}, s{{.}} 22*9880d681SAndroid Build Coastguard Worker; CORTEXA9-LABEL: test: 23*9880d681SAndroid Build Coastguard Worker; CORTEXA9: vdiv.f32 s{{.}}, s{{.}}, s{{.}} 24