Re: Why is "False" = "-1"?
From: Jim Carlock (anonymous_at_127.0.0.1)
Date: 07/27/04
- Next message: Jim Mack: "Re: Why is "False" = "-1"?"
- Previous message: Eduardo A. Morcillo [MS MVP VB]: "Re: Several questions on VB 6.0"
- In reply to: Larry Serflaten: "Re: Why is "False" = "-1"?"
- Next in thread: Jonathan Wood: "Re: Why is "False" = "-1"?"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Jul 2004 21:11:09 -0400
There's a debug program like the MS-DOS debug program
which is supposed to have support for the MMX instruction
set... I was reading a newsgroup article in one of the
assembly newsgroups about it supporting the SSE instruction
set.
I just downloaded it...
http://members.tripod.com/~ladsoft/grdb.htm
It runs very much like Microsoft's debug.exe. One of the
first I noticed is the eax, ebx, etc when you type in the r
command to display the registers.
Source code for it is available at the site as well.
Intel documents the Pentium III SSE instructions in:
http://www.intel.com/design/pentiumii/manuals/24512701.pdf
Another reference for is entitled "Pentium 4 Processor Optimization
Reference Manual" available here:
http://www.intel.com/design/pentium4/manuals/248966.htm
and the PDF is here:
http://www.cs.cornell.edu/courses/cs412/2001sp/resources/Pentium%20Processor%20Optimization.pdf
Not sure if that is what you are looking for but it is definitely
some interesting stuff.
-- Jim Carlock http://www.votetoimpeach.org/ Post replies to the newsgroup. "Larry Serflaten" wrote: "Jim Mack" wrote: > > > > While it is true that CMP and TEST do not store the result, most > > modern processors perform these operations every bit as fast as SUB > > and AND. > > Those individual operations each take one cycle, but TEST pipelines > better, so it's preferred over CMP and SUB, at least if your code is > written for use on any processor. I find it a bit surprising that CMP and SUB can store a result back out to relative memory in the same cycle they are fetched, but I don't follow assembly that close anymore. About the time they added pipelining, prefetch, or look-ahead, I started thinking I don't really need to get this focused... ;-) But, I would be interested if you knew of a downloadable reference that covers such details in the current architectures. It can't hurt to get more up to date before I make another remark like the previous 'cycle or two quicker' example.... LFS
- Next message: Jim Mack: "Re: Why is "False" = "-1"?"
- Previous message: Eduardo A. Morcillo [MS MVP VB]: "Re: Several questions on VB 6.0"
- In reply to: Larry Serflaten: "Re: Why is "False" = "-1"?"
- Next in thread: Jonathan Wood: "Re: Why is "False" = "-1"?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|