Re: Bug in vop code
Andrew Sengul <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <[email protected]> |
Of course, I was so focused on the SBCL side that I didn't think of those constraints of x86. I'll add logic to MOV the number and then add if it's larger than 32 bits. On 4/2/24 5:58 PM, Douglas Katzman wrote: > > > On Tue, Apr 2, 2024 at 7:30 PM Andrew Sengul <[email protected] > <mailto:[email protected]>> wrote: > > Hi everyone, I'm running into some bugs with vop code. I'm > attempting to > add an integer to a quadword register but I get an error message > informing me that the integer is too big to fit into 32 bits. > > > amd64 accepts immediate operands larger than (signed-byte 32) only in > MOV instructions. > You have to respect all architectural constraints. Try calling > CONSTANTIZE which will work fine unless you have two memory operands. _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help