From: Brian Dessent <brian@de...> - 2005-09-06 16:18:38
[please reply to the list and not to me personally]
Brian Chase wrote:
> Thanks for the link. I'm about 1/3 the way through it.
You really don't need to know anything about SEH for just doing cpuid.
Test bit 21 of the flags register and you will avoid the illegal opcode
fault on systems that do not support cpuid.
> Do you have a good link for x86 assembly reference/architecture? I
> looked at the Intel website but couldn't find what I wanted. I saw
> that Sun has some reference guides but they weren't exactly what I was
> looking for either.
You can download the PDFs, or you can have them ship you the printed
manuals at no cost. (I believe that this was part of some past
> I mostly work with embedded G4,G5,Arm with RTOS (occasionally linux)
> and this windows stuff is nuts. Still its what I run on my laptop and
> when I found mingw, I couldn't resist the temptation esp with SSE
> extensions just sitting there.
If you can live with being tied to gcc then you should consider using
its builtins for vector capabilities:
Your code will be much more readable without a bunch of assembly, and if
you're careful it will be portable between different implementations of
vector hardware. Let gcc do all the work.
Get latest updates about Open Source Projects, Conferences and News.