These built-in functions are available for the ARM family of processors.
More...
#include <stdint.h>
Go to the source code of this file.
|
static uint32_t | __add (uint32_t x, uint32_t y) |
| This function gives access to the ARM add instruction.
|
|
static uint32_t | __adc (uint32_t x, uint32_t y) |
| This function gives access to the ARM adc instruction.
|
|
static uint32_t | __adds (uint32_t x, uint32_t y) |
| This function gives access to the ARM adds instruction.
|
|
static uint32_t | __adcs (uint32_t x, uint32_t y) |
| This function gives access to the ARM adcs instruction.
|
|
static uint32_t | __sub (uint32_t x, uint32_t y) |
| This function gives access to the ARM sub instruction.
|
|
static uint32_t | __sbc (uint32_t x, uint32_t y) |
| This function gives access to the ARM sbc instruction.
|
|
static uint32_t | __subs (uint32_t x, uint32_t y) |
| This function gives access to the ARM subs instruction.
|
|
static uint32_t | __sbcs (uint32_t x, uint32_t y) |
| This function gives access to the ARM sbcs instruction.
|
|
static uint32_t | __rsb (uint32_t x, uint32_t y) |
| This function gives access to the ARM rsb instruction.
|
|
static uint32_t | __rsc (uint32_t x, uint32_t y) |
| This function gives access to the ARM rsc instruction.
|
|
static uint32_t | __rsbs (uint32_t x, uint32_t y) |
| This function gives access to the ARM rsbs instruction.
|
|
static uint32_t | __rscs (uint32_t x, uint32_t y) |
| This function gives access to the ARM rscs instruction.
|
|
These built-in functions are available for the ARM family of processors.
- Author
- Dave Lester (david.nosp@m..r.l.nosp@m.ester.nosp@m.@man.nosp@m.chest.nosp@m.er.a.nosp@m.c.uk)
- Copyright
- Copyright (c) Dave Lester and The University of Manchester, 2013. All rights reserved. SpiNNaker Project Advanced Processor Technologies Group School of Computer Science The University of Manchester Manchester M13 9PL, UK
- Date
- 12 December, 2013
Created on : 12 December 2013 Version : $Revision$ Last modified on : $Date$ Last modified by : $Author$ $Id$
$Log$
◆ __add()
static uint32_t __add |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM add instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x+y.
◆ __adc()
static uint32_t __adc |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM adc instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x+y+carry.
◆ __adds()
static uint32_t __adds |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM adds instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x+y, and sets the flag bits (including carry).
◆ __adcs()
static uint32_t __adcs |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM adcs instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x+y+carry, and sets the flag bits (including carry).
◆ __sub()
static uint32_t __sub |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM sub instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x-y.
◆ __sbc()
static uint32_t __sbc |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM sbc instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x-y-carry.
◆ __subs()
static uint32_t __subs |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM subs instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x-y, and sets the flag bits (including carry).
◆ __sbcs()
static uint32_t __sbcs |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM sbcs instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns x-y-carry, and sets the flag bits (including carry).
◆ __rsb()
static uint32_t __rsb |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM rsb instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns y-x
◆ __rsc()
static uint32_t __rsc |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM rsc instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns y-x-carry.
◆ __rsbs()
static uint32_t __rsbs |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM rsbs instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns y-x-carry, and sets the flag bits (including carry).
◆ __rscs()
static uint32_t __rscs |
( |
uint32_t |
x, |
|
|
uint32_t |
y |
|
) |
| |
|
inlinestatic |
This function gives access to the ARM rscs instruction.
- Parameters
-
[in] | x | An unsigned 32-bit integer. |
[in] | y | An unsigned 32-bit integer. |
- Returns
- The function returns y-x-carry, and sets the flag bits (including carry).