[Bug 1988561] [NEW] valgrind cannot correctly handle `vmovaps` instruction
Guo Ziyi
1988561 at bugs.launchpad.net
Fri Sep 2 11:54:29 UTC 2022
Public bug reported:
For valgrind, the instruction `vmovaps` cannot be recognised. Maybe need
to add the logic to process this kind of instruction.
vex amd64->IR: unhandled instruction bytes: 0x62 0xF1 0x7C 0x48 0x28 0x5 0xA5 0x3D 0x2 0x0
vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE
vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
==137388== valgrind: Unrecognised instruction at address 0x402291.
==137388== at 0x402291: SetupPrecalculatedData() (bitboard.cpp:175)
==137388== by 0x41FE15: main (sjeng.cpp:53)
=> 0x402291 <SetupPrecalculatedData()+17>: vmovaps zmm0,ZMMWORD PTR [rip+0x23da5] # 0x426040
0x40229b <SetupPrecalculatedData()+27>: vmovaps ZMMWORD PTR [rip+0x2ec9b],zmm0 # 0x430f40 <Mask>
0x4022a5 <SetupPrecalculatedData()+37>: mov eax,0x430f40
0x4022aa <SetupPrecalculatedData()+42>: vmovaps zmm0,ZMMWORD PTR [rip+0x23dcc] # 0x426080
0x4022b4 <SetupPrecalculatedData()+52>: vmovaps ZMMWORD PTR [rip+0x2ee82],zmm0 # 0x431140 <InvMask>
** Affects: valgrind (Ubuntu)
Importance: Undecided
Status: New
** Tags: reproduce
** Attachment added: "valgrind --tool=callgrind ./deepsjeng_s_base"
https://bugs.launchpad.net/bugs/1988561/+attachment/5613267/+files/deepsjeng_s_base
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to valgrind in Ubuntu.
https://bugs.launchpad.net/bugs/1988561
Title:
valgrind cannot correctly handle `vmovaps` instruction
Status in valgrind package in Ubuntu:
New
Bug description:
For valgrind, the instruction `vmovaps` cannot be recognised. Maybe
need to add the logic to process this kind of instruction.
vex amd64->IR: unhandled instruction bytes: 0x62 0xF1 0x7C 0x48 0x28 0x5 0xA5 0x3D 0x2 0x0
vex amd64->IR: REX=0 REX.W=0 REX.R=0 REX.X=0 REX.B=0
vex amd64->IR: VEX=0 VEX.L=0 VEX.nVVVV=0x0 ESC=NONE
vex amd64->IR: PFX.66=0 PFX.F2=0 PFX.F3=0
==137388== valgrind: Unrecognised instruction at address 0x402291.
==137388== at 0x402291: SetupPrecalculatedData() (bitboard.cpp:175)
==137388== by 0x41FE15: main (sjeng.cpp:53)
=> 0x402291 <SetupPrecalculatedData()+17>: vmovaps zmm0,ZMMWORD PTR [rip+0x23da5] # 0x426040
0x40229b <SetupPrecalculatedData()+27>: vmovaps ZMMWORD PTR [rip+0x2ec9b],zmm0 # 0x430f40 <Mask>
0x4022a5 <SetupPrecalculatedData()+37>: mov eax,0x430f40
0x4022aa <SetupPrecalculatedData()+42>: vmovaps zmm0,ZMMWORD PTR [rip+0x23dcc] # 0x426080
0x4022b4 <SetupPrecalculatedData()+52>: vmovaps ZMMWORD PTR [rip+0x2ee82],zmm0 # 0x431140 <InvMask>
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/valgrind/+bug/1988561/+subscriptions
More information about the foundations-bugs
mailing list