This is my first time submitting a patch to gcc and sincerely thank you all for
your help.
Zhijin
> From: "Li, Pan2"
> Date: Sat, Aug 17, 2024, 12:15
> Subject: RE: [PATCH] RISC-V: Fix factor in dwarf_poly_indeterminate_value
> [PR116305]
> To: "Li, Pan2&q
iteral 4, '0x1e' means the multiply operation. But in fact, the
vlenb register value just need to multiply the literal 2.
gcc/ChangeLog:
* config/riscv/riscv.cc (riscv_dwarf_poly_indeterminate_value):
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/scalable_vector
rminate_value):
gcc/testsuite/ChangeLog:
* gcc.target/riscv/rvv/base/scalable_vector_cfi.c: New test.
Signed-off-by: Zhijin Zeng
---
gcc/config/riscv/riscv.cc | 4 +--
.../riscv/rvv/base/scalable_vector_cfi.c | 32 +++
2 files changed, 34 insertions(+
> >
> > The sequence '0x92,0xa2,0x38,0' means the vlenb register, '0x34' means
> > the literal 4, '0x1e' means the multiply operation. But in fact, the
> > vlenb register value just need to multiply the literal 2.
> >
> > gcc/ChangeLog:
&