User forums > Using Code::Blocks

How to view YMM and ZMM registers in watches window?

(1/2) > >>

VbCl8ye2vyFPaP0M:
Is there a way to view the YMM and ZMM registers in the watches window? Viewing $xmm0 shows the contents of XMM0 as expected, but $ymm0 and $zmm0 just shows the the text "void" and the type void.

Using
Version          : 20.03-r11983 (on Windows 7 x64)

P.S.: $rflags or $flags also show 2 x void, but $eflags does work.

Miguel Gimenez:
Probably they have no associated types (256 and 512 bits are too big).

VbCl8ye2vyFPaP0M:
Sorry about that, it seems to be a problem with GDB rather than Code::Blocks.

I'm using "GNU gdb (GDB) 13.2". It disassembles the code correctly with AVX2 instructions and ymm registers, but no amount of googling and trying commands in the console will make it print the value of YMM registers :-(

omlk:
Just interesting, do you work with such registers all the time, or why do you need these registers?


Wkerry:
omlk, how is the post relevant?

Navigation

[0] Message Index

[#] Next page

Go to full version