Ilya Zakharevich on Fri, 20 Sep 2024 01:41:47 +0200


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

Wrong x86 assembler in the kernel


It seems that even ChatGPT produces better code than one in PARI :―(

According to
   https://www.felixcloutier.com/x86/bsr#flags-affected
the code for bfffo() needs a trailing
  : "cc"

Hope this helps,
Ilya

  P.S.  I did not check clobber-flags descriptors on other embedded assembler…