qemu-aarch64 tcg assertion v5.2.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Richard Henderson |
Bug Description
After updating to 5.2 I am getting following assertion error:
qemu-aarch64: ../tcg/
I think it was introduced by commit: e2e7168a214b0ed
Becasue before this change, in function simd_desc only maxsz % 8 == 0 was checked, but after this change qemu check for following:
max_align = maxsz >= 16 ? 15 : 7;
tcg_debug_
in my case maxsz=56.
Whole backtrace:
#4 0x0000004000314770 in check_size_align (oprsz=56, maxsz=56, ofs=0) at ../tcg/
#5 0x0000004000314950 in simd_desc (oprsz=56, maxsz=56, data=0) at ../tcg/
#6 0x0000004000316270 in do_dup (vece=0, dofs=3144, oprsz=56, maxsz=56, in_32=0x0, in_64=0x0, in_c=0) at ../tcg/
#7 0x00000040003164d0 in expand_clr (dofs=3144, maxsz=56) at ../tcg/
#8 0x0000004000319bb0 in tcg_gen_gvec_mov (vece=3, dofs=3136, aofs=3136, oprsz=8, maxsz=64) at ../tcg/
#9 0x0000004000200dc0 in clear_vec_high (s=0x40021a8180, is_q=false, rd=0) at ../target/
#10 0x0000004000200e40 in write_fp_dreg (s=0x40021a8180, reg=0, v=0x1108) at ../target/
--Type <RET> for more, q to quit, c to continue without paging--
#11 0x0000004000200e90 in write_fp_sreg (s=0x40021a8180, reg=0, v=0x1060) at ../target/
#12 0x0000004000214210 in handle_fpfpcvt (s=0x40021a8180, rd=0, rn=0, opcode=2, itof=true, rmode=0, scale=64, sf=0, type=0)
at ../target/
#13 0x0000004000214f90 in disas_fp_int_conv (s=0x40021a8180, insn=505544704) at ../target/
#14 0x0000004000215350 in disas_data_proc_fp (s=0x40021a8180, insn=505544704) at ../target/
#15 0x000000400022aa70 in disas_data_
#16 0x000000400022af90 in disas_a64_insn (env=0x7fac59b6
#17 0x000000400022b750 in aarch64_
#18 0x00000040002e8630 in translator_loop (ops=0x4000902e00 <aarch64_
tb=
#19 0x00000040002e3a60 in gen_intermediat
at ../target/
#20 0x00000040002fed30 in tb_gen_code (cpu=0x7fac59b6
at ../accel/
#21 0x000000400036a6e0 in tb_find (cpu=0x7fac59b6
--Type <RET> for more, q to quit, c to continue without paging--
#22 0x000000400036b040 in cpu_exec (cpu=0x7fac59b6
#23 0x0000004000113a90 in cpu_loop (env=0x7fac59b6
#24 0x00000040002fb8c0 in main (argc=2, argv=0x40021a8e68, envp=0x40021a8e80) at ../linux-
Changed in qemu: | |
assignee: | nobody → Richard Henderson (rth) |
status: | New → Confirmed |
Changed in qemu: | |
status: | Fix Committed → Fix Released |
Proposed patch: /lists. gnu.org/ archive/ html/qemu- devel/2020- 12/msg04150. html
https:/