]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Regtest: fix build of none crc32 x86 master
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Jun 2026 06:55:37 +0000 (08:55 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 23 Jun 2026 06:55:37 +0000 (08:55 +0200)
commitc0efe57f42aef9fb1119cc7b80966bca34f75724
treeefdeae355a529a9ea81f4f32d7322ccd0cf7fe30
parente95b52ae744a3e966f8b1f3c9d57ae356c57ff87
Regtest: fix build of none crc32 x86

The 32bit opcode variant needs an explicit l suffix for clang.

The test is still failing due the the flags mask/printf.

With clang, in gdb jusrt before the crc32 opcode rthe flags are

eflags         0x200296            [ PF AF SF IF ID ]

but with gcc

eflags         0x200202            [ IF ID ]

AF and SF need to be masked. It seems to work without masking PF,
not sure why, need to look at that a bit more.
none/tests/x86/crc32.c