11.1Snia/*-
21.1Snia * Copyright (c) 2025 The NetBSD Foundation, Inc.
31.1Snia * All rights reserved.
41.1Snia *
51.1Snia * This code is derived from software contributed to The NetBSD Foundation
61.1Snia * by Nia Alarie.
71.1Snia *
81.1Snia * Redistribution and use in source and binary forms, with or without
91.1Snia * modification, are permitted provided that the following conditions
101.1Snia * are met:
111.1Snia * 1. Redistributions of source code must retain the above copyright
121.1Snia *    notice, this list of conditions and the following disclaimer.
131.1Snia * 2. Redistributions in binary form must reproduce the above copyright
141.1Snia *    notice, this list of conditions and the following disclaimer in the
151.1Snia *    documentation and/or other materials provided with the distribution.
161.1Snia *
171.1Snia * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
181.1Snia * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
191.1Snia * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
201.1Snia * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
211.1Snia * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
221.1Snia * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
231.1Snia * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
241.1Snia * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
251.1Snia * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
261.1Snia * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
271.1Snia * POSSIBILITY OF SUCH DAMAGE.
281.1Snia */
291.1Snia
301.1Snia#ifndef _VIS_TYPES_H
311.1Snia#define _VIS_TYPES_H
321.1Snia
331.1Snia/*
341.1Snia * This should be compatible with what was shipped with SunPro.
351.1Snia *
361.1Snia * VIS Instruction Set User's Manual
371.1Snia * Sun Microsystems
381.1Snia * Part Number: 805-1394-03
391.1Snia * May 2001
401.1Snia *
411.1Snia * Page 32 describes data types.
421.1Snia */
431.1Snia
441.1Sniatypedef signed char		vis_s8 __attribute__ ((__may_alias__));
451.1Sniatypedef unsigned char		vis_u8 __attribute__ ((__may_alias__));
461.1Sniatypedef signed short		vis_s16 __attribute__ ((__may_alias__));
471.1Sniatypedef unsigned short		vis_u16 __attribute__ ((__may_alias__));
481.1Sniatypedef signed int		vis_s32 __attribute__ ((__may_alias__));
491.1Sniatypedef unsigned int		vis_u32 __attribute__ ((__may_alias__));
501.1Sniatypedef double			vis_d64 __attribute__ ((__may_alias__));
511.1Sniatypedef float			vis_f32 __attribute__ ((__may_alias__));
521.1Sniatypedef unsigned long		vis_addr __attribute__ ((__may_alias__));
531.1Snia
541.1Snia#ifdef _LP64
551.1Sniatypedef signed long		vis_s64 __attribute__ ((__may_alias__));
561.1Sniatypedef unsigned long		vis_u64 __attribute__ ((__may_alias__));
571.1Snia#else
581.1Sniatypedef signed long long	vis_s64 __attribute__ ((__may_alias__));
591.1Sniatypedef unsigned long long	vis_u64 __attribute__ ((__may_alias__));
601.1Snia#endif
611.1Snia
621.1Snia#endif
63