Author Topic: How to view YMM and ZMM registers in watches window?  (Read 1950 times)

Offline VbCl8ye2vyFPaP0M

  • Single posting newcomer
  • *
  • Posts: 8
How to view YMM and ZMM registers in watches window?
« on: December 04, 2023, 01:26:44 am »
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.

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1605
Re: How to view YMM and ZMM registers in watches window?
« Reply #1 on: December 04, 2023, 12:34:22 pm »
Probably they have no associated types (256 and 512 bits are too big).

Offline VbCl8ye2vyFPaP0M

  • Single posting newcomer
  • *
  • Posts: 8
Re: How to view YMM and ZMM registers in watches window?
« Reply #2 on: December 04, 2023, 06:33:33 pm »
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 :-(

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: How to view YMM and ZMM registers in watches window?
« Reply #3 on: December 06, 2023, 05:06:48 pm »
Just interesting, do you work with such registers all the time, or why do you need these registers?



Offline Wkerry

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: How to view YMM and ZMM registers in watches window?
« Reply #4 on: December 07, 2023, 11:30:47 am »
omlk, how is the post relevant?

Offline omlk

  • Multiple posting newcomer
  • *
  • Posts: 110
Re: How to view YMM and ZMM registers in watches window?
« Reply #5 on: December 09, 2023, 12:53:20 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?

Offline Wkerry

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: How to view YMM and ZMM registers in watches window?
« Reply #6 on: December 09, 2023, 03:03:16 am »
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)