Re: Can Windows CL compilers be as fast as CMUCL ?

From: Harald Hanche-Olsen (hanche_at_math.ntnu.no)
Date: 02/15/05


Date: 15 Feb 2005 21:27:38 +0100


+ Wade Humeniuk <whumeniu+anti+spam@telus.net>:

| Well it does look slow to me. With vector based CPU instructions that
| routine could be reduced to one instruction. On the vector based
| machines I was familiar with (the old CYBER 205) there was a single
| machine instruction to multiply a vector by a scalar. I assume the
| newer x86 instructions provide something similar. Perhaps if
| the Lisp vendors provided an API to embed machine instructions
| directly and allow some low level access to get at the internal
| representation of vectors, then this would all be academic.

Or one could venture into FFI land and use BLAS routines properly
optimized for the CPU in question?

  http://www.netlib.org/blas/faq.html

-- 
* Harald Hanche-Olsen     <URL:http://www.math.ntnu.no/~hanche/>
- Debating gives most of us much more psychological satisfaction
  than thinking does: but it deprives us of whatever chance there is
  of getting closer to the truth.  -- C.P. Snow


Relevant Pages

  • Re: Enhanced //e with a 6503??!
    ... Do you see a chance of posting this routine? ... an Rockwell R65C02 with the extended instructions? ... extra bit manipulation instructions which Rockwell introduced. ... BBRn zp,dest Branch if bit n reset in zero page location (8 opcodes) ...
    (comp.sys.apple2)
  • Re: A more structured approach
    ... For a more general "find an environment variable" routine - which would be more useful - you'd want a general "string compare" routine. ... My understanding is that "rep movsb" has been kept optimized, but that the other "string" instructions have gotten slow, compared to equivalent discrete instructions. ...
    (alt.lang.asm)
  • Re: HLA v1.86 is now available
    ... generally don't have the algorithmic background to write such a routine ... language programming course than machine instructions. ... What sense does it make to explain that there is a CPU instruction ... Assembly programming means to generate a sequence of CPU ...
    (alt.lang.asm)
  • Re: Bitmap palette
    ... > clock cycles to execute, with no opportunity to schedule parallel ... That's OK, as it takes a few instructions to get the proper, ... BIOS routine, or your own code. ...
    (comp.lang.asm.x86)
  • Re: Adding Forms to the taskbar?
    ... in the archive thread: ... Remember to uncomment the first two ... instructions in the UserForm_Activate ... routine. ...
    (microsoft.public.excel.programming)