This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] S/390: Fix instruction type of efpc and sfpc
- From: Andreas Krebbel <Andreas dot Krebbel at de dot ibm dot com>
- To: binutils at sourceware dot org
- Cc: schwidefsky at de dot ibm dot com
- Date: Thu, 15 Feb 2007 14:31:58 +0100
- Subject: [PATCH] S/390: Fix instruction type of efpc and sfpc
Hello,
the "extract fpc" and "set fpc" instructions take only one register
argument. Fixed with the attached patch.
OK?
Bye,
-Andreas-
2007-02-15 Andreas Krebbel <krebbel1@de.ibm.com>
* opcodes/s390-opc.txt ("efpc", "sfpc"): Set to RRE_R0 instruction
type.
Index: opcodes/s390-opc.txt
===================================================================
*** opcodes/s390-opc.txt.orig 2007-02-15 11:29:45.000000000 +0100
--- opcodes/s390-opc.txt 2007-02-15 14:11:27.000000000 +0100
*************** b30d debr RRE_FF "divide short bfp" g5 e
*** 354,360 ****
ed000000000d deb RXE_FRRD "divide short bfp" g5 esa,zarch
b35b didbr RRF_FUFF "divide to integer long bfp" g5 esa,zarch
b353 diebr RRF_FUFF "divide to integer short bfp" g5 esa,zarch
! b38c efpc RRE_RR "extract fpc" g5 esa,zarch
b342 ltxbr RRE_FF "load and test extended bfp" g5 esa,zarch
b312 ltdbr RRE_FF "load and test long bfp" g5 esa,zarch
b302 ltebr RRE_FF "load and test short bfp" g5 esa,zarch
--- 354,360 ----
ed000000000d deb RXE_FRRD "divide short bfp" g5 esa,zarch
b35b didbr RRF_FUFF "divide to integer long bfp" g5 esa,zarch
b353 diebr RRF_FUFF "divide to integer short bfp" g5 esa,zarch
! b38c efpc RRE_R0 "extract fpc" g5 esa,zarch
b342 ltxbr RRE_FF "load and test extended bfp" g5 esa,zarch
b312 ltdbr RRE_FF "load and test long bfp" g5 esa,zarch
b302 ltebr RRE_FF "load and test short bfp" g5 esa,zarch
*************** b31f msdbr RRF_F0FF "multiply and subtra
*** 397,403 ****
ed000000001f msdb RXF_FRRDF "multiply and subtract long bfp" g5 esa,zarch
b30f msebr RRF_F0FF "multiply and subtract short bfp" g5 esa,zarch
ed000000000f mseb RXF_FRRDF "multiply and subtract short bfp" g5 esa,zarch
! b384 sfpc RRE_RR "set fpc" g5 esa,zarch
b299 srnm S_RD "set rounding mode" g5 esa,zarch
b316 sqxbr RRE_FF "square root extended bfp" g5 esa,zarch
b315 sqdbr RRE_FF "square root long bfp" g5 esa,zarch
--- 397,403 ----
ed000000001f msdb RXF_FRRDF "multiply and subtract long bfp" g5 esa,zarch
b30f msebr RRF_F0FF "multiply and subtract short bfp" g5 esa,zarch
ed000000000f mseb RXF_FRRDF "multiply and subtract short bfp" g5 esa,zarch
! b384 sfpc RRE_R0 "set fpc" g5 esa,zarch
b299 srnm S_RD "set rounding mode" g5 esa,zarch
b316 sqxbr RRE_FF "square root extended bfp" g5 esa,zarch
b315 sqdbr RRE_FF "square root long bfp" g5 esa,zarch