forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__ppc_types.f90
More file actions
38 lines (31 loc) · 1.12 KB
/
__ppc_types.f90
File metadata and controls
38 lines (31 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
!===-- module/__ppc_types.f90 ----------------------------------------------===!
!
! Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
! See https://llvm.org/LICENSE.txt for license information.
! SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
!
!===------------------------------------------------------------------------===!
module __ppc_types
implicit none
! Set PRIVATE by default to explicitly only export what is meant
! to be exported by this MODULE.
private
! Definition of derived-types that represent PowerPC vector types.
type __builtin_ppc_intrinsic_vector(element_category, element_kind)
integer, kind :: element_category, element_kind
integer(16) :: storage
end type
type __builtin_ppc_pair_vector
integer(16) :: storage1
integer(16) :: storage2
end type
type __builtin_ppc_quad_vector
integer(16) :: storage1
integer(16) :: storage2
integer(16) :: storage3
integer(16) :: storage4
end type
public :: __builtin_ppc_intrinsic_vector
public :: __builtin_ppc_pair_vector
public :: __builtin_ppc_quad_vector
end module __ppc_types