We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be6aee1 commit cdd00feCopy full SHA for cdd00fe
1 file changed
arch/parisc/include/asm/assembly.h
@@ -174,6 +174,16 @@
174
#endif
175
.endm
176
177
+ /* The depw instruction leaves the most significant 32 bits of the
178
+ * target register in an undefined state on PA 2.0 systems. */
179
+ .macro dep_safe i, p, len, t
180
+#ifdef CONFIG_64BIT
181
+ depd \i, 32+(\p), \len, \t
182
+#else
183
+ depw \i, \p, \len, \t
184
+#endif
185
+ .endm
186
+
187
/* load 32-bit 'value' into 'reg' compensating for the ldil
188
* sign-extension when running in wide mode.
189
* WARNING!! neither 'value' nor 'reg' can be expressions
0 commit comments