gdb/lldb打印SIMD寄存器的值

在gdb或者lldb调试时打印SIMD寄存器的值的方法

gdb

p $v8.b
p $v8.h
p $v8.s

lldb

p (char __attribute__((ext_vector_type(16)))) $v8
p (short __attribute__((ext_vector_type(8)))) $v8
p (float __attribute__((ext_vector_type(4)))) $v8



Enjoy Reading This Article?

Here are some more articles you might like to read next:

  • MNN模型支持:Qwen3-VL
  • 一图读懂Qwen
  • 端侧LLM硬件系列(二):内存容量
  • Qwen3-Next:下一代MoE模型架构解析
  • MNN模型支持:面壁小钢炮MiniCPM-V-4