public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Missing instruction in s/390 assembler.
@ 2001-06-01  1:59 schwidefsky
  2001-06-12  4:51 ` Nick Clifton
  0 siblings, 1 reply; 2+ messages in thread
From: schwidefsky @ 2001-06-01  1:59 UTC (permalink / raw)
  To: binutils

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

Hi,
the s/390 assembler misses the lgh instruction. Simple problem, simple fix:

2001-06-01  Martin Schwidefsky <schwidefsky@de.ibm.com>

     * s390-opc.c: Add lgh instruction.
     * s390-opc.txt: Likewise.

(See attached file: lgh.diff)

blue skies,
   Martin

Linux/390 Design & Development, IBM Deutschland Entwicklung GmbH
Schönaicherstr. 220, D-71032 Böblingen, Telefon: 49 - (0)7031 - 16-2247
E-Mail: schwidefsky@de.ibm.com

[-- Attachment #2: lgh.diff --]
[-- Type: text/x-diff, Size: 1119 bytes --]

diff -urN src/opcodes/s390-opc.c src-s390/opcodes/s390-opc.c
--- src/opcodes/s390-opc.c	Fri Jun  1 10:48:03 2001
+++ src-s390/opcodes/s390-opc.c	Fri Jun  1 10:43:33 2001
@@ -470,6 +470,7 @@
   { "agf",   OP48(0xe30000000018LL), MASK_RXE, INSTR_RXE, 2},
   { "llgt",  OP48(0xe30000000017LL), MASK_RXE, INSTR_RXE, 2},
   { "llgf",  OP48(0xe30000000016LL), MASK_RXE, INSTR_RXE, 2},
+  { "lgh",   OP48(0xe30000000015LL), MASK_RXE, INSTR_RXE, 2},
   { "lgf",   OP48(0xe30000000014LL), MASK_RXE, INSTR_RXE, 2},
   { "lrvg",  OP48(0xe3000000000fLL), MASK_RXE, INSTR_RXE, 2},
   { "cvbg",  OP48(0xe3000000000eLL), MASK_RXE, INSTR_RXE, 2},
diff -urN src/opcodes/s390-opc.txt src-s390/opcodes/s390-opc.txt
--- src/opcodes/s390-opc.txt	Fri Jun  1 10:48:09 2001
+++ src-s390/opcodes/s390-opc.txt	Fri Jun  1 10:43:50 2001
@@ -452,6 +452,7 @@
 e30000000082 xg RXE "exclusive or 64" esame
 e30000000004 lg RXE "load 64" esame
 e30000000014 lgf RXE "load 64<32" esame
+e30000000015 lgh RXE "load halfword 64" esame
 e30000000020 cg RXE "compare 64" esame
 e30000000030 cgf RXE "compare 64<32" esame
 e30000000008 ag RXE "add 64" esame

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing instruction in s/390 assembler.
  2001-06-01  1:59 Missing instruction in s/390 assembler schwidefsky
@ 2001-06-12  4:51 ` Nick Clifton
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Clifton @ 2001-06-12  4:51 UTC (permalink / raw)
  To: schwidefsky; +Cc: binutils

Hi Martin,

> the s/390 assembler misses the lgh instruction. Simple problem, simple fix:
> 
> 2001-06-01  Martin Schwidefsky <schwidefsky@de.ibm.com>
> 
>      * s390-opc.c: Add lgh instruction.
>      * s390-opc.txt: Likewise.

Approved and applied.

Cheers
        Nick

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-06-12  4:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-01  1:59 Missing instruction in s/390 assembler schwidefsky
2001-06-12  4:51 ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).