Skip to content

[x86] Range check fixes in BZHI tests

Summary

This merge request fixes some range check errors in tests/test/cg/tbzhi*.pp tests so they don't fail to compile under -CriotRrules.

System

  • Processor architecture: i386, x86_64

What is the current bug behavior?

The 13 BZHI tests fail to compile under -CriotR rules due to unsigned values in a signed constant.

What is the behavior after applying this patch?

The 13 BZHI tests should now compile and run without incident under -CriotR rules thanks to explicit typecasts.

Merge request reports