summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/math-emu/fnegq.c
blob: 745020ee3f3dd3095ab5259791f3ec70d09a2669 (plain)
1
2
3
4
5
6
7
int FNEGQ(unsigned long *rd, unsigned long *rs2)
{
	rd[0] = rs2[0] ^ 0x8000000000000000UL;
	rd[1] = rs2[1];
	return 0;
}