From 47a630526420173baf31a9d8c11e7bbea0c803eb Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 20 Oct 2022 13:45:08 +0800 Subject: [PATCH] reduce flush to instruction + fence remove the nops because maybe the bug is fixed in this core version --- services/spinor/src/main.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/services/spinor/src/main.rs b/services/spinor/src/main.rs index b7ce3bb88..eaccec311 100644 --- a/services/spinor/src/main.rs +++ b/services/spinor/src/main.rs @@ -532,15 +532,7 @@ mod implementation { unsafe { core::arch::asm!( ".word 0x500F", - "nop", - "nop", - "nop", - "nop", "fence", - "nop", - "nop", - "nop", - "nop", ); } // augment with manual flushing, because the above instruction didn't seem to do the trick??