[fpc-devel] Cannot compile fpc with latest trunk on MacOSX
J. Gareth Moreton
gareth at moreton-family.com
Sat Apr 25 18:11:30 CEST 2020
This has probably already been identified,
but %r15 etc should be %r15d. You can't zero-
extend directly to a 64-bit register because
zero-extending to 32-bit is guaranteed to
zero the upper 32 bits.
Gareth aka. Kit
On Sat 25/04/20 18:00 , "Jonas Maebe"
jonas at freepascal.org sent:
> On 25/04/2020 16:46, Michael Ring via fpc-
devel wrote:
>
>
>
> >
> /Users/ring/devel/fpc/rtl/units/x86_64-
darwin/system.s:3469:15: error:
> > invalid operand for instruction
>
> >
> movzbl %r12b,%rdx
> >
> &nb
> sp; ^~~~
>
>
> Probably caused by r45057. It would be nice
if the internal assembler
>
> were more rigorous in its checks, so it
would catch these errors too.
>
>
>
>
>
> Jonas
>
>
_____________________________________________
__
>
> fpc-devel maillist - fpc-
devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-
bin/mailman/listinfo/fpc-devel
>
>
>
>
>
More information about the fpc-devel
mailing list