Nios II Custom Instruction User Guide

ID 683242
Date 4/27/2020
Public
Document Table of Contents

3.2.4. Built-in Functions that Return a Pointer Value

The following built-in functions in the Nios II GCC compiler return a pointer value. n represents the custom instruction selection index, and dataa and datab represent the input arguments, if any.

  • void *__builtin_custom_pn (int n);
  • void *__builtin_custom_pni (int n, int dataa);
  • void *__builtin_custom_pnf (int n, float dataa);
  • void *__builtin_custom_pnp (int n, void *dataa);
  • void *__builtin_custom_pnii (int n, int dataa, int datab);
  • void *__builtin_custom_pnif (int n, int dataa, float datab);
  • void *__builtin_custom_pnip (int n, int dataa, void *datab);
  • void *__builtin_custom_pnfi (int n, float dataa, int datab);
  • void *__builtin_custom_pnff (int n, float dataa, float datab);
  • void *__builtin_custom_pnfp (int n, float dataa, void *datab);
  • void *__builtin_custom_pnpi (int n, void *dataa, int datab);
  • void *__builtin_custom_pnpf (int n, void *dataa, float datab);
  • void *__builtin_custom_pnpp (int n, void *dataa, void *datab);