Skip to content

Commit d37f00f

Browse files
committed
processor: tell inline asm that we are modifying the conditional flags
1 parent b15110b commit d37f00f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gc/ogc/machine/processor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"1:" \
148148
: "=r"((_isr_cookie)),"=&r" ((_enable_mask)) \
149149
: "0"((_isr_cookie)),"1" ((_enable_mask)) \
150-
: "memory" \
150+
: "cc" \
151151
); \
152152
} while (0)
153153

@@ -165,7 +165,7 @@
165165
"1:" \
166166
: "=r" ((_isr_cookie)), "=&r" ((_flash_mask)) \
167167
: "0" ((_isr_cookie)), "1" ((_flash_mask)) \
168-
: "memory" \
168+
: "cc" \
169169
); \
170170
} while (0)
171171

0 commit comments

Comments
 (0)