Commit 02ae8b60 authored by Frank Barchard's avatar Frank Barchard

Line continuation at end of line with NOLINT before that.

BUG=libyuv:634
TEST=git cl lint
TBR=kjellander@chromium.org

Review URL: https://codereview.chromium.org/2453013003 .
parent 2c94d6bd
......@@ -17,20 +17,19 @@
#if (__mips_isa_rev >= 6)
#define LW(psrc) ({ \
uint8* psrc_lw_m = (uint8*) (psrc); \ /* NOLINT */
uint8* psrc_lw_m = (uint8*) (psrc); /* NOLINT */ \
uint32 val_m; \
asm volatile ( \
"lw %[val_m], %[psrc_lw_m] \n\t" \
: [val_m] "=r" (val_m) \
: [psrc_lw_m] "m" (*psrc_lw_m) \
); \
\
val_m; \
})
#if (__mips == 64)
#define LD(psrc) ({ \
uint8* psrc_ld_m = (uint8*) (psrc); \ /* NOLINT */
uint8* psrc_ld_m = (uint8*) (psrc); /* NOLINT */ \
uint64 val_m = 0; \
asm volatile ( \
"ld %[val_m], %[psrc_ld_m] \n\t" \
......@@ -41,20 +40,20 @@
})
#else // !(__mips == 64)
#define LD(psrc) ({ \
uint8* psrc_ld_m = (uint8*) (psrc); \ /* NOLINT */
uint8* psrc_ld_m = (uint8*) (psrc); /* NOLINT */ \
uint32 val0_m, val1_m; \
uint64 val_m = 0; \
val0_m = LW(psrc_ld_m); \
val1_m = LW(psrc_ld_m + 4); \
val_m = (uint64) (val1_m); \ /* NOLINT */
val_m = (uint64) ((val_m << 32) & 0xFFFFFFFF00000000); \ /* NOLINT */
val_m = (uint64) (val_m | (uint64) val0_m); \ /* NOLINT */
val_m = (uint64) (val1_m); /* NOLINT */ \
val_m = (uint64) ((val_m << 32) & 0xFFFFFFFF00000000); /* NOLINT */ \
val_m = (uint64) (val_m | (uint64) val0_m); /* NOLINT */ \
val_m; \
})
#endif // (__mips == 64)
#else // !(__mips_isa_rev >= 6)
#define LW(psrc) ({ \
uint8* psrc_lw_m = (uint8*) (psrc); \ /* NOLINT */
uint8* psrc_lw_m = (uint8*) (psrc); /* NOLINT */ \
uint32 val_m; \
asm volatile ( \
"ulw %[val_m], %[psrc_lw_m] \n\t" \
......@@ -66,7 +65,7 @@
#if (__mips == 64)
#define LD(psrc) ({ \
uint8* psrc_ld_m = (uint8*) (psrc); \ /* NOLINT */
uint8* psrc_ld_m = (uint8*) (psrc); /* NOLINT */ \
uint64 val_m = 0; \
asm volatile ( \
"uld %[val_m], %[psrc_ld_m] \n\t" \
......@@ -77,14 +76,14 @@
})
#else // !(__mips == 64)
#define LD(psrc) ({ \
uint8* psrc_ld_m = (uint8*) (psrc); \ /* NOLINT */
uint8* psrc_ld_m = (uint8*) (psrc); /* NOLINT */ \
uint32 val0_m, val1_m; \
uint64 val_m = 0; \
val0_m = LW(psrc_ld_m); \
val1_m = LW(psrc_ld_m + 4); \
val_m = (uint64) (val1_m); \ /* NOLINT */
val_m = (uint64) ((val_m << 32) & 0xFFFFFFFF00000000); \ /* NOLINT */
val_m = (uint64) (val_m | (uint64) val0_m); \ /* NOLINT */
val_m = (uint64) (val1_m); /* NOLINT */ \
val_m = (uint64) ((val_m << 32) & 0xFFFFFFFF00000000); /* NOLINT */ \
val_m = (uint64) (val_m | (uint64) val0_m); /* NOLINT */ \
val_m; \
})
#endif // (__mips == 64)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment