arm_sve.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /* AArch64 SVE intrinsics include file.
  2. Copyright (C) 2018-2020 Free Software Foundation, Inc.
  3. This file is part of GCC.
  4. GCC is free software; you can redistribute it and/or modify it
  5. under the terms of the GNU General Public License as published
  6. by the Free Software Foundation; either version 3, or (at your
  7. option) any later version.
  8. GCC is distributed in the hope that it will be useful, but WITHOUT
  9. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  10. or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
  11. License for more details.
  12. Under Section 7 of GPL version 3, you are granted additional
  13. permissions described in the GCC Runtime Library Exception, version
  14. 3.1, as published by the Free Software Foundation.
  15. You should have received a copy of the GNU General Public License and
  16. a copy of the GCC Runtime Library Exception along with this program;
  17. see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  18. <http://www.gnu.org/licenses/>. */
  19. #ifndef _ARM_SVE_H_
  20. #define _ARM_SVE_H_
  21. #include <stdint.h>
  22. #include <arm_bf16.h>
  23. typedef __fp16 float16_t;
  24. typedef float float32_t;
  25. typedef double float64_t;
  26. /* NOTE: This implementation of arm_sve.h is intentionally short. It does
  27. not define the SVE types and intrinsic functions directly in C and C++
  28. code, but instead uses the following pragma to tell GCC to insert the
  29. necessary type and function definitions itself. The net effect is the
  30. same, and the file is a complete implementation of arm_sve.h. */
  31. #pragma GCC aarch64 "arm_sve.h"
  32. #endif