      _   _  ___  ____                                       
     | \ | |/ _ \/ ___|                     N.A.Software Ltd  
     |  \| | |_| \___ \                     1 Prospect Road    
     | |\  |  _  |___) |                    Birkenhead       
     |_| \_|_| |_|____/                     CH42 8LE          
                                            England            
                                                                  
     Produced by NA Software Ltd 2009       +44 (0) 151 609 1911  
     http://www.nasoftware.co.uk

     COPYRIGHT (c) Intel Corporation.                            

     README FILE.

     Directory : src/altivec2sse/
     Date      : 17/09/10

     Project   : PowerPC to AI Conversion.      

     This directory contains the altivec2avx conversion include file.
     It is housed in the following file:

     altivec2avx.h : This file contains definitions that map the altivec
                     functions onto sse functions. It can be compiled
                     with C/C++ code that contains altivec calls in order
                     to port to AI. It replaces altivec.h in the PowerPC
                     version.

     Makefile : Edit this file to set the compiler options. In particular
		# Choose to compile with AVX, SSE4 or SSE2.
		        OPT += -mavx
		#       OPT += -msse4
		#       OPT += -msse2
		To compile all the code, type "make"
		This compiles the test programs "test_vec.c" and
		"test_link.c" with both gcc and g++.

                The RUN option
		    RUN     = ./sde --
                sets the command used to execute the programs by the
	        "make runall" target. By default it uses the Intel
		    Software Development Emulator (sde)
http://software.intel.com/en-us/articles/intel-software-development-emulator/

		If you want to run the code natively, comment out the line
		    # RUN     = ./sde --

     test_link.c
     test_vec.c
		These two programs are used to check the accuracy of
                altivec2avx.h 

     time_innerprod.c
     time_matmul.c
     time_mattrans.c
     time_vsin.c
		These are benchmarking programs to test the efficiency
                of altivec2avx.h

     abs_diff.c
     mat_trans.c
     vec_add.c
     vec_grayscale.c
     vec_sin.c
     vec_tenth.c
		These are sample codes taken from
http://www.kernel.org/pub/linux/kernel/people/geoff/cell/ps3-linux-docs/ps3-linux-docs-latest/CellProgrammingTutorial/BasicsOfSIMDProgramming.html
