Skip to content

Commit 8c5030e

Browse files
bors[bot]adamgreig
andauthored
Merge #200
200: Add CPSR to asm::delay's clobber flags. Fixes #195 r=therealprof a=adamgreig Co-authored-by: Adam Greig <[email protected]>
2 parents 1cb6baf + e106d4a commit 8c5030e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/asm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ pub fn delay(_n: u32) {
4242
bne.n 1b"
4343
: "+r"(_n / 4 + 1)
4444
:
45-
:
45+
: "cpsr"
4646
: "volatile");
4747
},
4848

0 commit comments

Comments
 (0)