OSDN Git Service

cpu/
authorrsandifo <rsandifo>
Fri, 27 Aug 2004 09:31:59 +0000 (09:31 +0000)
committerrsandifo <rsandifo>
Fri, 27 Aug 2004 09:31:59 +0000 (09:31 +0000)
* frv.cpu (cfmovs): Change UNIT attribute to FMALL.

opcodes/
* frv-desc.[ch], frv-opc.[ch]: Regenerated.

gas/testsuite/
* gas/frv/fr550-pack1.[sd]: New test.
* gas/frv/allinsn.exp: Run it.

cpu/ChangeLog
cpu/frv.cpu
gas/testsuite/ChangeLog
gas/testsuite/gas/frv/allinsn.exp
gas/testsuite/gas/frv/fr550-pack1.d [new file with mode: 0644]
gas/testsuite/gas/frv/fr550-pack1.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/frv-desc.c
opcodes/frv-desc.h
opcodes/frv-opc.c
opcodes/frv-opc.h

index 3ef3440..d28bcd5 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * frv.cpu (cfmovs): Change UNIT attribute to FMALL.
+
 2004-05-15  Nick Clifton  <nickc@redhat.com>
 
        * iq2000.opc (iq2000_cgen_insn_supported): Make 'insn' argument const.
index 75b034c..720322d 100644 (file)
      ((fr500 (unit u-fr2fr)))
 )
 
-(conditional-register-transfer cfmovs OP_6C OPE4_0 FRj FRk FM01
+(conditional-register-transfer cfmovs OP_6C OPE4_0 FRj FRk FMALL
                               ((FR500-MAJOR F-1) (FR550-MAJOR F-2)
                                (MACH simple,tomcat,fr500,fr550,frv))
                               ((fr500 (unit u-fr2fr)) (fr550 (unit u-fr2fr)))
index 6c78e36..6effaab 100644 (file)
@@ -1,3 +1,8 @@
+2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * gas/frv/fr550-pack1.[sd]: New test.
+       * gas/frv/allinsn.exp: Run it.
+
 2004-08-27  Nick Clifton  <nickc@redhat.com>
 
        * gas/i386/i386.exp: Allow pcrel test for COFF targets as well,
index 8684e4c..ed29d20 100644 (file)
@@ -27,4 +27,6 @@ if [istarget frv*-*-*] {
     run_list_test "fr450-insn" "-mcpu=fr400"
     run_list_test "fr450-insn" "-mcpu=fr500"
     run_list_test "fr450-media-issue" "-mcpu=fr450"
+
+    run_dump_test "fr550-pack1"
 }
diff --git a/gas/testsuite/gas/frv/fr550-pack1.d b/gas/testsuite/gas/frv/fr550-pack1.d
new file mode 100644 (file)
index 0000000..c577bfc
--- /dev/null
@@ -0,0 +1,12 @@
+#as: -mcpu=fr550
+#objdump: -dr
+
+.*:     file format elf32-frv(|fdpic)
+
+Disassembly of section \.text:
+
+00000000 <.*>:
+.*:    09 b0 00 00     cfmovs\.p fr0,fr4,cc0,0x0
+.*:    0b b0 00 01     cfmovs\.p fr1,fr5,cc0,0x0
+.*:    0d b0 00 02     cfmovs\.p fr2,fr6,cc0,0x0
+.*:    8f b0 00 03     cfmovs fr3,fr7,cc0,0x0
diff --git a/gas/testsuite/gas/frv/fr550-pack1.s b/gas/testsuite/gas/frv/fr550-pack1.s
new file mode 100644 (file)
index 0000000..aa3f360
--- /dev/null
@@ -0,0 +1,4 @@
+       cfmovs.p        fr0,fr4,cc0,0
+       cfmovs.p        fr1,fr5,cc0,0
+       cfmovs.p        fr2,fr6,cc0,0
+       cfmovs          fr3,fr7,cc0,0
index adf1a09..3531db3 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-27  Richard Sandiford  <rsandifo@redhat.com>
+
+       * frv-desc.[ch], frv-opc.[ch]: Regenerated.
+
 2004-07-30  Michal Ludvig  <mludvig@suse.cz>
 
        * i386-dis.c (GRPPADLCK): Renamed to GRPPADLCK1
index 7e0b3b4..91f8cca 100644 (file)
@@ -2,7 +2,7 @@
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
 
-Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright 1996-2004 Free Software Foundation, Inc.
 
 This file is part of the GNU Binutils and/or GDB, the GNU debugger.
 
@@ -5160,7 +5160,7 @@ static const CGEN_IBASE frv_cgen_insn_table[MAX_INSNS] =
 /* cfmovs$pack $FRj,$FRk,$CCi,$cond */
   {
     FRV_INSN_CFMOVS, "cfmovs", "cfmovs", 32,
-    { 0|A(FR_ACCESS)|A(CONDITIONAL), { (1<<MACH_SIMPLE)|(1<<MACH_TOMCAT)|(1<<MACH_FR500)|(1<<MACH_FR550)|(1<<MACH_FRV), UNIT_FM01, FR400_MAJOR_NONE, FR450_MAJOR_NONE, FR500_MAJOR_F_1, FR550_MAJOR_F_2 } }
+    { 0|A(FR_ACCESS)|A(CONDITIONAL), { (1<<MACH_SIMPLE)|(1<<MACH_TOMCAT)|(1<<MACH_FR500)|(1<<MACH_FR550)|(1<<MACH_FRV), UNIT_FMALL, FR400_MAJOR_NONE, FR450_MAJOR_NONE, FR500_MAJOR_F_1, FR550_MAJOR_F_2 } }
   },
 /* fnegs$pack $FRj,$FRk */
   {
index 5a11f8d..4e9b446 100644 (file)
@@ -2,7 +2,7 @@
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
 
-Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright 1996-2004 Free Software Foundation, Inc.
 
 This file is part of the GNU Binutils and/or GDB, the GNU debugger.
 
index 2e307e0..f220799 100644 (file)
@@ -2,7 +2,7 @@
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
 
-Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright 1996-2004 Free Software Foundation, Inc.
 
 This file is part of the GNU Binutils and/or GDB, the GNU debugger.
 
index dd343de..c0a52dc 100644 (file)
@@ -2,7 +2,7 @@
 
 THIS FILE IS MACHINE GENERATED WITH CGEN.
 
-Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
+Copyright 1996-2004 Free Software Foundation, Inc.
 
 This file is part of the GNU Binutils and/or GDB, the GNU debugger.