If I'm calling
the functions I generate explicitly, does the cost number entered have
any bearing on how they'll work? Can I just put in 0 for all costs and
be fine?
Second, is there a place where I can see the instructions that are
supported by define-vop?
is there a place where these register type
symbols are listed?
I was looking for the one that refers to XMM
registers. Also, are there offsets associated with the vector registers
(MMX, SSE etc.) that would allow me to set a temporary variable
referring to a specific one?
On 3/14/23 7:40 PM, Stas Boukarev wrote:
> There's no avx-512 support. And you can't touch some registers. Don't
> even push/pop them.
>
> On Wed, Mar 15, 2023 at 5:15 AM Andrew Sengul <m...@imagegardenphoto.com
> <mailto:m...@imagegardenphoto.com>> wrote:
>
> Thanks, are the AVX-512 ZMM registers not available? Also, does SBCL
> reserve R12 and R13 for some purpose? Anytime I try changing them
> I get
> an unhandled memory fault, I have to push them at the beginning of the
> function and pop them at the end in order to avoid this.
> Interestingly,
> I've seen an error message stating "unable to pack a load-TN in SC for
> the result" because I reserved most of the GP registers for use with
> temporary data and R12 and R13 were missing from the list of potential
> registers for the purpose that it printed.
>
> On 3/13/23 10:44 AM, Douglas Katzman wrote:
> >
> >
> > On Sun, Mar 12, 2023 at 12:03 PM Andrew Sengul
> > <m...@imagegardenphoto.com <mailto:m...@imagegardenphoto.com>
> <mailto:m...@imagegardenphoto.com <mailto:m...@imagegardenphoto.com>>>
> wrote:
> >
> >
> > is there a place where these register type
> > symbols are listed?
> >
> > Search for define-storage-class
> >
> > I was looking for the one that refers to XMM
> > registers. Also, are there offsets associated with the vector
> > registers
> > (MMX, SSE etc.) that would allow me to set a temporary variable
> > referring to a specific one?
> >
> > MMX can not be used at all.
> > There is seldom a reason to wire an XMM/YMM register to
> anything. You
> > can specify register numbers as integers in ":offset" if you must.
>
>
> _______________________________________________
> Sbcl-help mailing list
> Sbcl...@lists.sourceforge.net
> <mailto:Sbcl...@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/sbcl-help
On 3/14/23 9:55 PM, Stas Boukarev wrote:
> That document is irrelevant, it's for calling C. And which registers
> SBCL uses is not specified and my change at any time, just don't wire
> any registers.
>
> On Wed, Mar 15, 2023 at 7:09 AM Andrew Sengul <m...@imagegardenphoto.com
> <mailto:m...@imagegardenphoto.com>> wrote:
>
> Ok, which registers are those? R12 and R13? The document Vasily linked
> says "Registers %rbp, %rbx and %r12 through
> %r15 'belong' to the calling function and the called function is
> required to preserve their values." Must none of those registers
> be used
> in a vop? I'm finding that my functions require the use of many
> registers.
>
> On 3/14/23 7:40 PM, Stas Boukarev wrote:
> > There's no avx-512 support. And you can't touch some registers.
> Don't
> > even push/pop them.
> >
> > On Wed, Mar 15, 2023 at 5:15 AM Andrew Sengul
> <m...@imagegardenphoto.com <mailto:m...@imagegardenphoto.com>
> > <mailto:Sbcl...@lists.sourceforge.net
> <mailto:Sbcl...@lists.sourceforge.net>>
> > https://lists.sourceforge.net/lists/listinfo/sbcl-help
> >
>
_______________________________________________
Sbcl-help mailing list
Sbcl...@lists.sourceforge.net