Slide 1 Slide 2 Slide 3 Slide 4 Slide 5 Slide 6 Slide 7 Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21 Slide 22 Slide 23 Slide 24 Slide 25 Slide 26 Slide 27 Slide 28 Slide 29 Slide 30 Slide 31 Slide 32 Slide 33 Slide 34 Slide 35 Slide 36 Slide 37 Product List
Core-Slide29

Now to take a look under the hood and see how the compiler and the RX’s FPU work together to make one’s application run faster. Here is a typical real-world math problem: converting temperature from degrees C to degrees F. This is an overly simple example, but even in this simple example one can appreciate how much overhead the FPU eliminates. Here is some C code to do the conversion – it is written using single precision match, so it is nice and readable. Now to break it down: First there are some single precision variables, some floating point constants, and three different floating point operations.

PTM Published on: 2012-05-15