Chapter 21. Debugging Functions

Debugging code written for vector processors can be either complicated or very simple, depending on your toolset. The first item to remember is to have a good IDE (integrated development environment). With this and the proper processor package, the packed data vector registers can be immediately dumped and examined to verify the data is as expected.

Workbench Files:\Bench\x86\chap21\project\platform

 

project

platform

Debugging

\vecbug\

\vc6

  

\vc.net

Guidelines of Assembly Development

I do not want to bog you down or lecture to you as I have done enough of that already, but here are some suggestions for developing assembly code:

  • Always write your functions in C first.

  • Vectorize it in C if possible.

  • Debug the C. Single step ...

Get 32/64-Bit 80x86 Assembly Language Architecture now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.