Skip to content

[x86_64 / Bug Fix] Fixed bad code generation for "in" operator on large sets

J. Gareth "Kit" Moreton requested to merge CuriousKit/optimisations:i40358 into main

Summary

This merge request fixes a bug that manifests on x86_64 when the in operator is used on a large set (more than 32 individual flags). Notably it caused the cross-compilation of ARM to generate assembler errors (see #40358 (closed)).

System

  • Processor architecture: x86_64

What is the current bug behavior?

The cross-compilation of ARM from x86_64 produced a compiler with bad code.

What is the behavior after applying this patch?

The cross compiler should now work.

Additional Notes

The bug caused bits above the 32nd slot to not be processed properly. This fixes #40358 (closed).

Merge request reports