News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

How to view YMM and ZMM registers in watches window?

Started by VbCl8ye2vyFPaP0M, December 04, 2023, 01:26:44 AM

Previous topic - Next topic

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

Quote from: Wkerry on December 07, 2023, 11:30:47 AM
omlk, how is the post relevant?
I just came across a post and saw similar symbols, so I'm asking a codeblock user if he already wants to work with avx512/zmm registers processor in codeblocks to optimize or write microcode for processors or someone writing high load server applications or for research in institutes. Are code blocks suitable for this?

Wkerry

omlk, in your web site you are a hard core Windows dev expert, so for my knowledge how have you moved to embedded SQL as I would also like to use it?  (Embedded SQL is ! MCU/SOC)

ssbssa

I've implemented support for AVX registers (YMM, ZMM) in gdb for Windows, it's available in my new build.