Commit a45a0116 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: Use zdep for shlw macro on PA1.1 and PA2.0



The zdep and depw,z mnemonics generate the same code. The assembler will
accept the depw,z mnemonic when generating PA 1.x code. The zdep
mnemonic is okay when generating PA 2.0 code. This patch changes depw,z
to zdep in the current shlw macro, while the binary code will be the
same.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Signed-off-by: default avatarJohn David Anglin <dave.anglin@bell.net>
parent 3847dab7
Loading
Loading
Loading
Loading
+1 −8
Original line number Original line Diff line number Diff line
@@ -129,15 +129,8 @@
	.macro	debug value
	.macro	debug value
	.endm
	.endm



	/* Shift Left - note the r and t can NOT be the same! */
	.macro shl r, sa, t
	dep,z	\r, 31-(\sa), 32-(\sa), \t
	.endm

	/* The PA 2.0 shift left */
	.macro shlw r, sa, t
	.macro shlw r, sa, t
	depw,z	\r, 31-(\sa), 32-(\sa), \t
	zdep	\r, 31-(\sa), 32-(\sa), \t
	.endm
	.endm


	/* And the PA 2.0W shift left */
	/* And the PA 2.0W shift left */