Bill Allombert on Fri, 20 Sep 2024 09:40:58 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Wrong x86 assembler in the kernel


On Thu, Sep 19, 2024 at 04:41:41PM -0700, Ilya Zakharevich wrote:
> It seems that even ChatGPT produces better code than one in PARI :―(
> 
> According to
>    https://www.felixcloutier.com/x86/bsr#flags-affected

This page does not mention the carry nor the CF flag.

> the code for bfffo() needs a trailing
>   : "cc"

Do you have a test case ?

Cheers,
Bill.