ae2f_docs
Loading...
Searching...
No Matches
spvty.h File Reference

type definitions for spir-v output. More...

#include <ae2f/c90/StdInt.h>

Go to the source code of this file.

Macros

#define aclspv_wrd_t   aclspv_wrd_t
 integer as word
#define aclspv_opcode_t   aclspv_opcode_t
 integer as operation code
#define ACLSPV_MASK_OPCODE   ((aclspv_wrd_t)0x0000ffff)
 mask for opcode
#define ACLSPV_MASK_NOPRNDS   ((aclspv_wrd_t)0xffff0000)
 mask for number of operands
#define ACLSPV_MASK_WRD   ((aclspv_wrd_t)0xffffffff)
 mask for word

Typedefs

typedef uint32_t aclspv_wrd_t
typedef uint_fast16_t aclspv_opcode_t
typedef aclspv_wrd_t aclspv_num_opprm_t
typedef aclspv_wrd_t aclspv_wrdcount_t
 the integer type represents the number of word.
typedef aclspv_wrd_t aclspv_id_t

Variables

char ACLSPV_CHECK [sizeof(aclspv_wrd_t) >=4 ? 1 :-1]

Detailed Description

type definitions for spir-v output.

Definition in file spvty.h.

Macro Definition Documentation

◆ ACLSPV_MASK_NOPRNDS

#define ACLSPV_MASK_NOPRNDS   ((aclspv_wrd_t)0xffff0000)

mask for number of operands

Definition at line 42 of file spvty.h.

◆ ACLSPV_MASK_OPCODE

#define ACLSPV_MASK_OPCODE   ((aclspv_wrd_t)0x0000ffff)

mask for opcode

Definition at line 37 of file spvty.h.

◆ ACLSPV_MASK_WRD

#define ACLSPV_MASK_WRD   ((aclspv_wrd_t)0xffffffff)

mask for word

Definition at line 48 of file spvty.h.

◆ aclspv_opcode_t

#define aclspv_opcode_t   aclspv_opcode_t

integer as operation code

Definition at line 27 of file spvty.h.

◆ aclspv_wrd_t

#define aclspv_wrd_t   aclspv_wrd_t

integer as word

Definition at line 16 of file spvty.h.

Typedef Documentation

◆ aclspv_id_t

typedef aclspv_wrd_t aclspv_id_t

Definition at line 67 of file spvty.h.

◆ aclspv_num_opprm_t

typedef aclspv_wrd_t aclspv_num_opprm_t

Definition at line 55 of file spvty.h.

◆ aclspv_opcode_t

typedef uint_fast16_t aclspv_opcode_t

Definition at line 28 of file spvty.h.

◆ aclspv_wrd_t

typedef uint32_t aclspv_wrd_t

Definition at line 17 of file spvty.h.

◆ aclspv_wrdcount_t

the integer type represents the number of word.

Definition at line 61 of file spvty.h.

Variable Documentation

◆ ACLSPV_CHECK

char ACLSPV_CHECK
extern

Definition at line 31 of file spvty.h.