diff --git a/riscv-rt/src/asm.rs b/riscv-rt/src/asm.rs index 9bf3d951..0a68808a 100644 --- a/riscv-rt/src/asm.rs +++ b/riscv-rt/src/asm.rs @@ -35,6 +35,12 @@ cfg_global_asm!( ".attribute arch, \"rv32im\"", #[cfg(all(riscv32, riscve))] ".attribute arch, \"rv32e\"", + #[cfg(all(riscv32, riscve, riscvc))] + ".attribute arch, \"rv32ec\"", + #[cfg(all(riscv32, riscve, riscvm))] + ".attribute arch, \"rv32em\"", + #[cfg(all(riscv32, riscve, riscvm, riscvc))] + ".attribute arch, \"rv32emc\"", #[cfg(all(riscv64, riscvm, not(riscvg)))] ".attribute arch, \"rv64im\"", #[cfg(all(riscv64, riscvg))]