EasyManuals Logo

Texas Instruments C28 Series User Manual

Texas Instruments C28 Series
76 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #68 background imageLoading...
Page #68 background image
Function Descriptions
3.34 Sort an Array of Floats
Description:
This module sorts an array of floats. This function is a partially optmized version of qsort.c
from the C28x cgtools lib qsort() v6.0.1.
Header File:
FPU.h
Declaration:
void qsort_SP_RV(void
*
x, Uint16 N)
Usage:
qsort_SP_RV(x, N);
void *x
input array of floats
Uint16 N
size of x array
Alignment Requirements:
None
Notes:
1. Performance is best with -o1, -mf3 compiler options (cgtools v6.0.1)
Example:
#include "FPU.h"
#define N 4
float32 x[N];
main()
{
qsort_SP_RV(x,N);
}
Benchmark Information:
The cycles for this function are data dependent and therefore the benchmark cannot be pro-
vided.
Sep 10, 2012 68

Table of Contents

Other manuals for Texas Instruments C28 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments C28 Series and is the answer not in the manual?

Texas Instruments C28 Series Specifications

General IconGeneral
BrandTexas Instruments
ModelC28 Series
CategoryComputer Hardware
LanguageEnglish

Related product manuals