fork download
  1. static inline int32_t shift_s32_l4 (int32_t op)
  2. {
  3. asm(
  4. "swap %A[op]\n"
  5. "swap %B[op]\n"
  6. "swap %C[op]\n"
  7. "swap %D[op]\n"
  8. "andi %D[op],0xF0\n"
  9. "add %D[op],%C[op]\n"
  10. "andi %C[op],0xF0\n"
  11. "sub %D[op],%C[op]\n"
  12. "add %C[op],%B[op]\n"
  13. "andi %B[op],0xF0\n"
  14. "sub %C[op],%B[op]\n"
  15. "add %B[op],%A[op]\n"
  16. "andi %A[op],0xF0\n"
  17. "sub %B[op],%A[op]\n"
  18. : [op] "=&d" (op)
  19. : "[op]" (op)
  20. );
  21. return op;
  22. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:1: error: unknown type name ‘int32_t’
 static inline int32_t shift_s32_l4 (int32_t op)
 ^
prog.c:1:37: error: unknown type name ‘int32_t’
 static inline int32_t shift_s32_l4 (int32_t op)
                                     ^
stdout
Standard output is empty