2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
6 .. _ti-c6x-built-in-functions:
8 TI C6X Built-in Functions
9 ^^^^^^^^^^^^^^^^^^^^^^^^^
11 GCC provides intrinsics to access certain instructions of the TI C6X
12 processors. These intrinsics, listed below, are available after
13 inclusion of the ``c6x_intrinsics.h`` header file. They map directly
20 int _sadd2 (int, int);
21 int _ssub2 (int, int);
22 long long _mpy2 (int, int);
23 long long _smpy2 (int, int);
26 int _saddu4 (int, int);
29 int _smpyh (int, int);
30 int _smpyhl (int, int);
31 int _smpylh (int, int);
37 int _avgu4 (int, int);
41 int _extru (int, int);