1 //===- BlackfinIntrinsics.td - Defines Blackfin intrinsics -*- tablegen -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines all of the blackfin-specific intrinsics.
12 //===----------------------------------------------------------------------===//
14 let TargetPrefix = "bfin", isTarget = 1 in {
16 //===----------------------------------------------------------------------===//
17 // Core synchronisation etc.
19 // These intrinsics have sideeffects. Each represent a single instruction, but
20 // workarounds are sometimes required depending on the cpu.
22 // Execute csync instruction with workarounds
23 def int_bfin_csync : GCCBuiltin<"__builtin_bfin_csync">,
26 // Execute ssync instruction with workarounds
27 def int_bfin_ssync : GCCBuiltin<"__builtin_bfin_ssync">,
30 // Execute idle instruction with workarounds
31 def int_bfin_idle : GCCBuiltin<"__builtin_bfin_idle">,