From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/gcc~13/argument-types.html | 52 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 devdocs/gcc~13/argument-types.html (limited to 'devdocs/gcc~13/argument-types.html') diff --git a/devdocs/gcc~13/argument-types.html b/devdocs/gcc~13/argument-types.html new file mode 100644 index 00000000..563e70e3 --- /dev/null +++ b/devdocs/gcc~13/argument-types.html @@ -0,0 +1,52 @@ +

6.60.13.1 Argument Types ΒΆ

The arguments to the built-in functions can be divided into three groups: register numbers, compile-time constants and run-time values. In order to make this classification clear at a glance, the arguments and return values are given the following pseudo types:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Pseudo typeReal C typeConstant?Description
uhunsigned shortNoan unsigned halfword
uw1unsigned intNoan unsigned word
sw1intNoa signed word
uw2unsigned long longNoan unsigned doubleword
sw2long longNoa signed doubleword
constintYesan integer constant
accintYesan ACC register number
iaccintYesan IACC register number

These pseudo types are not defined by GCC, they are simply a notational convenience used in this manual.

Arguments of type uh, uw1, sw1, uw2 and sw2 are evaluated at run time. They correspond to register operands in the underlying FR-V instructions.

const arguments represent immediate operands in the underlying FR-V instructions. They must be compile-time constants.

acc arguments are evaluated at compile time and specify the number of an accumulator register. For example, an acc argument of 2 selects the ACC2 register.

iacc arguments are similar to acc arguments but specify the number of an IACC register. See see Other Built-in Functions for more details.

+

+ © Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
+ https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/Argument-Types.html +

+
-- cgit v1.2.3