From 7d4e4c0b34a613dd3c0220475ae4e448197522c1 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 12 Mar 2011 23:17:12 +0100 Subject: initial commit. now I can start playing with stuff! --- include/rvl/PPCWGPipe.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 include/rvl/PPCWGPipe.h (limited to 'include/rvl/PPCWGPipe.h') diff --git a/include/rvl/PPCWGPipe.h b/include/rvl/PPCWGPipe.h new file mode 100755 index 0000000..1354a93 --- /dev/null +++ b/include/rvl/PPCWGPipe.h @@ -0,0 +1,37 @@ +#ifndef __PPCWGPIPE_H__ +#define __PPCWGPIPE_H__ + +#ifdef __cplusplus +extern "C" { +#endif + +/*---------------------------------------------------------------------------* + PPC Write Gather Pipe + + Write Gather Pipe is defined as: + PPCWGPipe wgpipe : ; + + Then, used as: + wgpipe.u8 = 0xff; + wgpipe.s16 = -5; + wgpipe.f32 = 0.10f; + *---------------------------------------------------------------------------*/ +typedef union uPPCWGPipe +{ + u8 _u8; + u16 _u16; + u32 _u32; + u64 _u64; + s8 _s8; + s16 _s16; + s32 _s32; + s64 _s64; + f32 _f32; + f64 _f64; +} PPCWGPipe; + +#ifdef __cplusplus +} +#endif + +#endif //__PPCWGPIPE_H__ -- cgit v1.2.3