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 6d9727a commit 1d68808Copy full SHA for 1d68808
arch/mips/include/asm/asmmacro.h
@@ -169,6 +169,17 @@
169
fpu_restore_16even \thread \tmp
170
.endm
171
172
+#ifdef CONFIG_CPU_MIPSR2
173
+ .macro _EXT rd, rs, p, s
174
+ ext \rd, \rs, \p, \s
175
+ .endm
176
+#else /* !CONFIG_CPU_MIPSR2 */
177
178
+ srl \rd, \rs, \p
179
+ andi \rd, \rd, (1 << \s) - 1
180
181
+#endif /* !CONFIG_CPU_MIPSR2 */
182
+
183
/*
184
* Temporary until all gas have MT ASE support
185
*/
0 commit comments