]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #91548 - luojia65:hint-spin-loop-riscv, r=Amanieu
authorMatthias Krüger <matthias.krueger@famsik.de>
Sat, 11 Dec 2021 16:35:26 +0000 (17:35 +0100)
committerGitHub <noreply@github.com>
Sat, 11 Dec 2021 16:35:26 +0000 (17:35 +0100)
commit60b9f3130d1e41cf6c53ea8159ac44457ea8fe04
treed6f3e830d825c92517aaa0906818970ab4f8fd7a
parent7fbaf33a3cb2d9f86c1dc037b2087086de25c515
parent0ccf58b928c3197bb5531c422e3ad5c5bd899191
Rollup merge of #91548 - luojia65:hint-spin-loop-riscv, r=Amanieu

Add spin_loop hint for RISC-V architecture

This commit uses the PAUSE instruction (https://github.com/rust-lang/stdarch/pull/1262) to implement RISC-V spin loop, and updates `stdarch` submodule to use the merged PAUSE instruction.