]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
se_all32bitopcodes: mark certain block of insns as invalid under sim
authorMike Frysinger <vapier@gentoo.org>
Mon, 24 Jun 2013 00:11:11 +0000 (20:11 -0400)
committerMike Frysinger <vapier@gentoo.org>
Mon, 1 Jan 2024 23:23:26 +0000 (18:23 -0500)
Are these actually invalid?  Or is the sim getting it wrong?

sim/testsuite/bfin/se_all32bitopcodes.S

index 0de8e0de961ba7492d47c1b93a5b817aea9dee34..50b8ed0cb237ba9ca1ff01c1de906e86cddbfd3c 100644 (file)
        .dw 0xe000, 0xc425,     0xffff, 0xc428,         0x21, 0
        .dw 0x1000, 0xc429,     0x7fff, 0xc429,         0x21, 0
        .dw 0x9000, 0xc429,     0xffff, 0xc42a,         0x21, 0
+.ifndef BFIN_JTAG
+       /* The hardware gives a pass to some of these fields.
+          The sim does not, so mark them as illegal.  */
+       .dw 0x0000, 0xc42b,     0x0fff, 0xc42b,         0x21, 0
+.endif
        .dw 0x1000, 0xc42b,     0x3fff, 0xc42b,         0x21, 0
        .dw 0x5000, 0xc42b,     0xbfff, 0xc42c,         0x21, 0
        .dw 0xd000, 0xc42c,     0xffff, 0xc42d,         0x21, 0