brintos

brintos / llvm-project-archived public Read only

0
0
Text · 658 B · 68f71d8 Raw
18 lines · plain
1//===----------------------------------------------------------------------===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#if (__CLC_VECSIZE_OR_1 == 1 || __CLC_VECSIZE_OR_1 == 2 ||                     \10     __CLC_VECSIZE_OR_1 == 3 || __CLC_VECSIZE_OR_1 == 4)11 12_CLC_OVERLOAD _CLC_DEF __CLC_SCALAR_GENTYPE13__clc_fast_distance(__CLC_GENTYPE p0, __CLC_GENTYPE p1) {14  return __clc_fast_length(p0 - p1);15}16 17#endif18