build.zig | 1 + ci/loongarch64-linux-debug.sh | 71 +++++++++++++++++++++++++++++ ci/loongarch64-linux-release.sh | 77 ++++++++++++++++++++++++++++++++ doc/langref/runtime_shrExact_overflow.zig | 2 +- lib/std/Target.zig | 2 +- lib/std/Target/loongarch.zig | 38 ++++++++++------ lib/std/crypto/ml_kem.zig | 6 +++ lib/std/math/modf.zig | 1 + lib/std/mem.zig | 3 +- lib/std/zig/system.zig | 5 +-- lib/std/zig/system/loongarch.zig | 48 ++++++++++++++++++++ lib/zig.h | 16 +++++-- stage1/zig.h | 16 +++++-- stage1/zig1.wasm | Bin 2928628 -> 2951810 bytes test/behavior/asm.zig | 1 + test/behavior/math.zig | 4 ++ test/c_abi/main.zig | 2 + test/src/StackTrace.zig | 2 + test/stack_traces.zig | 10 +++++ test/standalone/build.zig | 7 ++- test/standalone/dep_lazypath/build.zig | 2 + test/standalone/glibc_compat/build.zig | 2 + test/standalone/issue_794/build.zig | 2 + test/standalone/simple/build.zig | 9 +++- test/standalone/simple/hello_world/hello_libc.zig | 10 ++--- test/standalone/static_c_lib/foo.zig | 8 ++-- test/tests.zig | 10 +---- tools/update_cpu_features.zig | 30 +++++++++++++ 28 files changed, 339 insertions(+), 46 deletions(-)