add d0 to clobber list

This commit is contained in:
Markus Fröschle
2017-02-05 16:03:13 +00:00
parent 3c15ef3471
commit 627705e9c4

View File

@@ -679,7 +679,7 @@ uint32_t set_ipl(uint32_t ipl)
" lsr.l #8,%[ret]\r\n" /* shift them to position */ " lsr.l #8,%[ret]\r\n" /* shift them to position */
: [ret] "=&d" (ret) /* output */ : [ret] "=&d" (ret) /* output */
: [ipl] "d" (ipl) /* input */ : [ipl] "d" (ipl) /* input */
: "cc" /* clobber */ : "d0", "cc" /* clobber */
); );
return ret; return ret;