2009-06-14 05:24:02 -04:00
|
|
|
//===--- BuiltinsPPC.def - PowerPC Builtin function database ----*- C++ -*-===//
|
2009-06-02 13:58:47 -04:00
|
|
|
//
|
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
|
//
|
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
//
|
|
|
|
|
// This file defines the PowerPC-specific builtin function database. Users of
|
|
|
|
|
// this file must define the BUILTIN macro to make use of this information.
|
|
|
|
|
//
|
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
|
|
// FIXME: this needs to be the full list supported by GCC. Right now, I'm just
|
|
|
|
|
// adding stuff on demand.
|
|
|
|
|
|
2009-06-14 05:24:02 -04:00
|
|
|
// The format of this database matches clang/Basic/Builtins.def.
|
2009-06-02 13:58:47 -04:00
|
|
|
|
|
|
|
|
// This is just a placeholder, the types and attributes are wrong.
|
|
|
|
|
BUILTIN(__builtin_altivec_abs_v4sf , "ii" , "nc")
|
|
|
|
|
// FIXME: Obviously incomplete.
|
|
|
|
|
|
|
|
|
|
#undef BUILTIN
|