#ifndef _ASM_SCORE_DELAY_H #define _ASM_SCORE_DELAY_H #include <asm-generic/param.h>
static inline void __delay(unsigned long loops) { /* 3 cycles per loop. */ __asm__ __volatile__ ( "1:\tsubi\t%0, 3\n\t" "cmpz.c\t%0\n\t" "ble\t1b\n\t" : "=r" (loops) : "0" (loops)); }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
chen liqin | chen liqin | 15 | 100.00% | 2 | 100.00% |
Total | 15 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
chen liqin | chen liqin | 32 | 100.00% | 2 | 100.00% |
Total | 32 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
chen liqin | chen liqin | 66 | 100.00% | 3 | 100.00% |
Total | 66 | 100.00% | 3 | 100.00% |