Mercurial > libavutil.hg
comparison common.h @ 496:b55c2d61403d libavutil
cosmetics: __asm__ __volatile__ --> asm volatile
author | diego |
---|---|
date | Thu, 17 Apr 2008 21:57:52 +0000 |
parents | 2e4747b3d034 |
children | 2ae1cc70b1c4 |
comparison
equal
deleted
inserted
replaced
495:774adf4fb537 | 496:b55c2d61403d |
---|---|
339 static inline uint64_t read_time(void) | 339 static inline uint64_t read_time(void) |
340 { | 340 { |
341 uint32_t tbu, tbl, temp; | 341 uint32_t tbu, tbl, temp; |
342 | 342 |
343 /* from section 2.2.1 of the 32-bit PowerPC PEM */ | 343 /* from section 2.2.1 of the 32-bit PowerPC PEM */ |
344 __asm__ __volatile__( | 344 asm volatile( |
345 "1:\n" | 345 "1:\n" |
346 "mftbu %2\n" | 346 "mftbu %2\n" |
347 "mftb %0\n" | 347 "mftb %0\n" |
348 "mftbu %1\n" | 348 "mftbu %1\n" |
349 "cmpw %2,%1\n" | 349 "cmpw %2,%1\n" |