ABOUT US  |  PRODUCTS  |  LIBRARY  |  PARTNERS  |  SUPPORT  |  NEWS  |  DOWNLOADS  |  ORDER  |  CONTACT
 
  You are here: Home > Products > Other Products > GoFast
   
 

Math Products


GoFast® for ARM and IAR EWARM


Fast Floating Point Library


Features

  • Fast
  • Reentrant
  • ROMable
  • Conforms to IEEE 754 Format
  • "Link and Go" compiler support for IAR EWARM
  • Includes complete source, test programs, project files, and startup code


Description

GoFast® for ARM was carefully designed for high performance operation in embedded applications and ease of use including “link and go” compatibility with the IAR C compiler. GoFast provides ROMable, reentrant IEEE and ANSI compatible ARM floating point support. It boosts the performance of an application’s math calculations or eliminates the need for a hardware floating-point coprocessor, in order to reduce product manufacturing cost. It is delivered with full assembly source code.

Currently GoFast is offered for the ARM and Thumb-2 instruction sets, not Thumb.

Functionality

GoFast ARM offers the following reentrant floating point routines, for both single and double precision:

  • intrinsic basic operations + - * /
  • intrinsic conversions
  • sqrt
  • sin, cos, tan
  • asin, acos, atan, atan2
  • sinh, cosh, atanh
  • log, log10, exp, pow
  • floor, ceil, fabs
  • modf, fmod, frexp, ldexp


Floating Point Technology

GoFast is based on “Architecture Independent Technology” (AIT) and proven floating point algorithms that were developed for over a decade. The algorithms have been thoroughly tested using automated methods.

Conformance and Testing

The accuracy of each GoFast Floating Point Library is within one (least significant) bit for arithmetic functions and two bits for transcendental functions, in most cases. The IEEE 754 Floating Point Format defines special representations for underflow, overflow, and invalid operation. The GoFast routines use these formats and adhere to the IEEE 754 error handling procedures in all applicable cases. Quality assurance and testing procedures have assured proper product operation. In addition, each delivery includes target specific test programs assuring confidence of product operation.

Timings

The following table gives the times for all floating point operations, for GoFast and the IAR floating point library. The times, in microseconds, were measured using the indicated processor and evaluation board. The basic operations (add, subtract, multiply, divide, conversions, and comparisons) in the IAR C library are hand-coded and faster than those in GoFast, so the IAR versions are used instead. (If you only need these basic operations, you don’t need GoFast.) Thus, the routines linked are a mixture of both libraries, as indicated in bold below. GoFast provides the greatest benefit for the more complex operations, offering as much as an 11 times performance boost for some.

Microsecond Timings

ARM7:    LPC2468, 48 MHz, Code Int SRAM, Data Ext SDRAM

 
Double Precision
Single Precision
Function
GoFast
IAR
GoFast
IAR
add
1.8
1.2
1.3
0.8
subtract
1.9
1.3
1.3
0.8
multiply
1.8
1.4
1.2
0.7
divide
9.2
6.6
4.8
1.6
sqrt
17.8
29.1
9.4
7.7
exp
8.7
29.9
2.7
17.8
log
19.2
29.1
8.0
9.3
log10
19.6
33.0
8.2
11.1
sin
7.2
21.0
2.7
7.9
cos
7.1
20.8
2.7
7.8
tan
16.7
27.6
6.7
9.3
asin
15.8
66.9
20.0
18.6
acos
16.2
67.0
22.5
18.7
atan
20.5
32.5
8.6
9.5
atan 2
29.2
38.0
12.5
11.0
pow
27.6
83.2
11.6
39.7
tanh
17.3
35.3
9.9
19.0
sinh
17.0
37.4
7.0
21.2
cosh
16.9
36.3
6.5
20.6
modf
2.5
3.4
1.5
2.1
fmod
6.3
75.3
4.8
48.1
fabs
0.4
1.0
0.3
0.9
floor
0.9
2.4
0.6
1.8
ceil
0.9
2.4
0.6
1.8
ldexp
0.9
2.2
0.8
1.8
frexp
0.8
1.0
0.7
0.9
cmp
1.1
0.8
0.8
0.7
fp to long
0.7
0.5
0.5
0.5
fp to ulong
0.7
0.4
0.5
0.4
long to fp
0.9
1.1
0.8
0.5
ulong to fp
0.8
1.2
0.6
0.5
sgl to dbl
0.7
0.5
dbl to sgl
0.8
0.5

Times were measured on Embedded Artists LPC2468 OEM board with IAR v5.20.


GoFast is a registered trademark of Lantronix Inc. ARM is a registered trademark of ARM Ltd.

11/11/09     back to top

...............................................................

................................................................

  Register now for more info.
 
 

 
HOME  |  SITEMAP  |  CONTACT