)]}'
{
  "commit": "fffe5e21229c9cefc072f911ae7aa1e12fe001c1",
  "tree": "3a78bf05ecd2497cab7907f7099ddded3cb2734a",
  "parents": [
    "f29c99b3ae00c82b8fab444b5314b25e7a648d63"
  ],
  "author": {
    "name": "Yap Zhi Heng",
    "email": "yapzhhg@gmail.com",
    "time": "Mon Sep 14 20:17:50 2026 +0800"
  },
  "committer": {
    "name": "Arthur Cohen",
    "email": "arthur.cohen@opensrcsec.com",
    "time": "Wed Sep 16 14:08:34 2026 +0200"
  },
  "message": "gccrs: Implement some platform-intrinsic simd function support\n\nGenerated 007t.gimple code from compiling platform_intrinsics.rs:\n\n_1 \u003d x \u003d\u003d y;\n_eq \u003d VEC_COND_EXPR \u003c_1, { -1, -1 }, { 0, 0 }\u003e;\n_2 \u003d x !\u003d y;\n_ne \u003d VEC_COND_EXPR \u003c_2, { -1, -1 }, { 0, 0 }\u003e;\n_3 \u003d x \u003c y;\n_lt \u003d VEC_COND_EXPR \u003c_3, { -1, -1 }, { 0, 0 }\u003e;\n_4 \u003d x \u003c\u003d y;\n_le \u003d VEC_COND_EXPR \u003c_4, { -1, -1 }, { 0, 0 }\u003e;\n_5 \u003d x \u003e y;\n_gt \u003d VEC_COND_EXPR \u003c_5, { -1, -1 }, { 0, 0 }\u003e;\n_6 \u003d x \u003e\u003d y;\n_ge \u003d VEC_COND_EXPR \u003c_6, { -1, -1 }, { 0, 0 }\u003e;\n_add \u003d x + y;\n_sub \u003d x - y;\n_mul \u003d x * y;\n_div \u003d x / y;\n_shl \u003d x \u003c\u003c y;\n_shr \u003d x \u003e\u003e y;\n_and \u003d x \u0026 y;\n_or \u003d x | y;\n_xor \u003d x ^ y;\n\ngcc/rust/ChangeLog:\n\n\t* Make-lang.in: Compile the new rust-compile-platform-intrinsic files.\n\t* backend/rust-compile-base.cc (HIRCompileBase::setup_abi_options): Make the\n\tPLATFORM_INTRINSIC case use the `cdecl` ABI.\n\t* backend/rust-compile-platform-intrinsic.cc: New file to handle compilation of\n\t\u0027platform-intrinsic\u0027 extern functions.\n\t* backend/rust-compile-platform-intrinsic.h: Header file for the formentioned file.\n\t* backend/rust-compile-expr.cc (CompileExpr::visit (HIR::CallExpr)): Add new\n\tconditions to compile platform-intrinsic extern functions.\n\t* typecheck/rust-hir-type-check-base.cc (TypeCheckBase::resolve_generic_params):\n\tCheck \u0027platform-intrinsic\u0027 extern functions for const parameters.\n\t* typecheck/rust-hir-type-check-expr.cc (TypeCheckExpr::visit (HIR::TupleIndexExpr)):\n\tFix resolved tuple expression not destructuring.\n\nSigned-off-by: Yap Zhi Heng \u003cyapzhhg@gmail.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e4e5704528cfbd8f345a207feb56ed414cacc787",
      "old_mode": 33188,
      "old_path": "gcc/rust/Make-lang.in",
      "new_id": "552de0153d662f0f3be27e90b312412610128c37",
      "new_mode": 33188,
      "new_path": "gcc/rust/Make-lang.in"
    },
    {
      "type": "modify",
      "old_id": "d4161a96f1f2623b98c9b5fce6e73e6bf60d5066",
      "old_mode": 33188,
      "old_path": "gcc/rust/backend/rust-compile-base.cc",
      "new_id": "65ec002fca468ede830a99486237f7f2f640e1bb",
      "new_mode": 33188,
      "new_path": "gcc/rust/backend/rust-compile-base.cc"
    },
    {
      "type": "modify",
      "old_id": "6480e946b1555fc958ca67fc83bdc90d8a12f0e5",
      "old_mode": 33188,
      "old_path": "gcc/rust/backend/rust-compile-expr.cc",
      "new_id": "815f53cb087819a251d5fca737316ea4061cfc61",
      "new_mode": 33188,
      "new_path": "gcc/rust/backend/rust-compile-expr.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "3580143de3557e95b3e37f9f772942efc3bc0919",
      "new_mode": 33188,
      "new_path": "gcc/rust/backend/rust-compile-platform-intrinsic.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c568a627e8dd898fccdf2121e8381028f1b28fec",
      "new_mode": 33188,
      "new_path": "gcc/rust/backend/rust-compile-platform-intrinsic.h"
    },
    {
      "type": "modify",
      "old_id": "faa6d5ea98ee0df741f27cbeca1e9155ce951832",
      "old_mode": 33188,
      "old_path": "gcc/rust/typecheck/rust-hir-type-check-base.cc",
      "new_id": "c9e392039a3c234dd92419a91b1695d110b5e696",
      "new_mode": 33188,
      "new_path": "gcc/rust/typecheck/rust-hir-type-check-base.cc"
    },
    {
      "type": "modify",
      "old_id": "fdc17fe44e2528520a5513ba333a8062d97cb453",
      "old_mode": 33188,
      "old_path": "gcc/rust/typecheck/rust-hir-type-check-expr.cc",
      "new_id": "b2e10c6225bdd437134801022aaaa17deba8a36f",
      "new_mode": 33188,
      "new_path": "gcc/rust/typecheck/rust-hir-type-check-expr.cc"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "c93df7c4a20b79210786d858d32eed7063a68ebf",
      "new_mode": 33188,
      "new_path": "gcc/testsuite/rust/compile/platform_intrinsics.rs"
    }
  ]
}
