)]}'
{
  "commit": "4e9e2478dfd26480bbf50367a67b9be0edafef2b",
  "tree": "d4ed75d1710e00dd845b17a434024eb784fc8bf1",
  "parents": [
    "e83845316abcea9024eb5402a6c5eb8b092c79d5"
  ],
  "author": {
    "name": "Chao Liu",
    "email": "lc00631@tecorigin.com",
    "time": "Mon Mar 10 10:35:25 2025 +0800"
  },
  "committer": {
    "name": "Alistair Francis",
    "email": "alistair.francis@wdc.com",
    "time": "Wed Mar 19 16:40:42 2025 +1000"
  },
  "message": "target/riscv: fix handling of nop for vstart \u003e\u003d vl in some vector instruction\n\nRecently, when I was writing a RISCV test, I found that when VL is set to 0, the\ninstruction should be nop, but when I tested it, I found that QEMU will treat\nall elements as tail elements, and in the case of VTA\u003d1, write all elements\nto 1.\n\nAfter troubleshooting, it was found that the vext_vx_rm_1 function was called in\nthe vext_vx_rm_2, and then the vext_set_elems_1s function was called to process\nthe tail element, but only VSTART \u003e\u003d vl was checked in the vext_vx_rm_1\nfunction, which caused the tail element to still be processed even if it was\nreturned in advance.\n\nSo I\u0027ve made the following change:\n\nPut VSTART_CHECK_EARLY_EXIT(env) at the beginning of the vext_vx_rm_2 function,\nso that the VSTART register is checked correctly.\n\nFixes: df4252b2ec (\"target/riscv/vector_helpers: do early exit when\nvstart \u003e\u003d vl\")\nSigned-off-by: Chao Liu \u003clc00631@tecorigin.com\u003e\nReviewed-by: Daniel Henrique Barboza \u003cdbarboza@ventanamicro.com\u003e\nMessage-ID: \u003cb2649f14915150be4c602d63cd3ea4adf47e9d75.1741573286.git.lc00631@tecorigin.com\u003e\nSigned-off-by: Alistair Francis \u003calistair.francis@wdc.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "217d2f60a51fcfd8d6fe9193aaab6eb99453fcb9",
      "old_mode": 33188,
      "old_path": "target/riscv/vector_helper.c",
      "new_id": "67b3bafebbedc54bce6706694cc171d656410692",
      "new_mode": 33188,
      "new_path": "target/riscv/vector_helper.c"
    }
  ]
}
