We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66f962d commit 4525462Copy full SHA for 4525462
arch/riscv/lib/csum.c
@@ -156,6 +156,7 @@ do_csum_with_alignment(const unsigned char *buff, int len)
156
end = (const unsigned long *)(buff + len);
157
csum = do_csum_common(ptr, end, data);
158
159
+#ifdef CC_HAS_ASM_GOTO_TIED_OUTPUT
160
/*
161
* Zbb support saves 6 instructions, so not worth checking without
162
* alternatives if supported
@@ -214,6 +215,7 @@ do_csum_with_alignment(const unsigned char *buff, int len)
214
215
return csum >> 16;
216
}
217
no_zbb:
218
+#endif /* CC_HAS_ASM_GOTO_TIED_OUTPUT */
219
#ifndef CONFIG_32BIT
220
csum += ror64(csum, 32);
221
csum >>= 32;
0 commit comments