Re: odd bit optimized function

2023-09-22 Thread Vitaliy Fadeev via Digitalmars-d-learn
On Friday, 22 September 2023 at 22:48:34 UTC, claptrap wrote: On Friday, 22 September 2023 at 14:29:08 UTC, Vitaliy Fadeev wrote: x86 first bit check (odd check): ```asm AND EAX, EAX ; update FLAG OF // odd flag JO Label ``` Is there D-Lang operator of optimized library function ? There's

Re: odd bit optimized function

2023-09-22 Thread claptrap via Digitalmars-d-learn
On Friday, 22 September 2023 at 14:29:08 UTC, Vitaliy Fadeev wrote: x86 first bit check (odd check): ```asm AND EAX, EAX ; update FLAG OF // odd flag JO Label ``` Is there D-Lang operator of optimized library function ? There's no "odd" flag, theres the overflow flag "O", and "JO" is jump

odd bit optimized function

2023-09-22 Thread Vitaliy Fadeev via Digitalmars-d-learn
x86 first bit check (odd check): ```asm AND EAX, EAX ; update FLAG OF // odd flag JO Label ``` Is there D-Lang operator of optimized library function ?