Re: FSQRT mnemonic missing from PPC-ASM.LISP
Gary Byers <[email protected]> Fri, 10 Jan 2003 16:22:56 -0700 (MST)
| Newsgroups | gmane.lisp.openmcl.bugs |
|---|---|
| Message-ID | <[email protected]> |
On Fri, 10 Jan 2003, Randall Beer wrote: > I just discovered that the FSQRT mnemonic is missing from the > DEFPARAMETER for *PPC-OPCODES* in PPC-ASM.LISP. The net effect of this > is that one can't assemble any PPC LAP code containing FSQRTs. > > Randy Beer > > FSQRT and FSQRTS are both categorized as "optional PPC instructions". (My guess is that most PPC implementations opt to implement them; I'm fairly sure that the PPC 601 didn't, but don't know about other CPUs.) I agree that assembler should recognize FSQRT/FSQRTS; if there's really any issue of whether or not these instructions are implemented, there may need to be some mechanism to select a target architecture. (You can currently assemble PPC64 instructions, which are definitely not implemented on 32-bit CPUs.)