xref: /csrg-svn/sys/tahoe/align/Amneg.c (revision 45699)
1*45699Sbostic /*	Amneg.c	1.2	90/12/04	*/
229616Ssam 
3*45699Sbostic #include "align.h"
429616Ssam mneg(infop)	process_info *infop;
529616Ssam /*
629616Ssam /*	Move negated operand.
729616Ssam /*
829616Ssam /**********************************/
929616Ssam {
1029616Ssam 	register	long	Register_12;	/* Has to be first reg ! */
1129616Ssam 	register	long	Register_11;
1229616Ssam 
1329616Ssam 	Register_12 = operand(infop, 0)->data;
1429616Ssam 	Register_11=psl;
1529616Ssam 	Set_psl(r11);	/* restore the user psl */
1629616Ssam 	asm ("	mnegl	r12,r11");
1729616Ssam 	asm ("	movpsl	r12");
1829616Ssam 	New_cc (Register_12);
1929616Ssam 	write_back (infop, Register_11, operand(infop,1));
2029616Ssam }
21