* [committed 1/2] arc: Update neg<.f> 0,b encoding
@ 2023-07-04 10:27 Claudiu Zissulescu
2023-07-04 10:27 ` [committed 2/2] arc: Update default target CPU to match GCC defaults Claudiu Zissulescu
0 siblings, 1 reply; 2+ messages in thread
From: Claudiu Zissulescu @ 2023-07-04 10:27 UTC (permalink / raw)
To: binutils; +Cc: fbedard
Wrong encoding for null destination NEG instruction. Fix it.
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
---
opcodes/arc-tbl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opcodes/arc-tbl.h b/opcodes/arc-tbl.h
index 529edd02ea7..b90413de7ef 100644
--- a/opcodes/arc-tbl.h
+++ b/opcodes/arc-tbl.h
@@ -14242,7 +14242,7 @@
{ "neg", 0x204E0000, 0xF8FF0FC0, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { RA, RB }, { C_F }},
/* neg<.f> 0,b 00100bbb01001110FBBB000000111110. */
-{ "neg", 0x204E0000, 0xF8FF0FFF, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { ZA, RB }, { C_F }},
+{ "neg", 0x204E003E, 0xF8FF0FFF, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { ZA, RB }, { C_F }},
/* neg<.f><.cc> b,b 00100bbb11001110FBBB0000001QQQQQ. */
{ "neg", 0x20CE0020, 0xF8FF0FE0, ARC_OPCODE_ARC600 | ARC_OPCODE_ARC700 | ARC_OPCODE_ARCv2EM | ARC_OPCODE_ARCv2HS, ARITH, NONE, { RB, RBdup }, { C_F, C_CC }},
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [committed 2/2] arc: Update default target CPU to match GCC defaults
2023-07-04 10:27 [committed 1/2] arc: Update neg<.f> 0,b encoding Claudiu Zissulescu
@ 2023-07-04 10:27 ` Claudiu Zissulescu
0 siblings, 0 replies; 2+ messages in thread
From: Claudiu Zissulescu @ 2023-07-04 10:27 UTC (permalink / raw)
To: binutils; +Cc: fbedard
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
---
gas/config/tc-arc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 8d16cb57088..d9b13a0388e 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -49,7 +49,7 @@
&& (SUB_OPCODE (x) == 0x28))
#ifndef TARGET_WITH_CPU
-#define TARGET_WITH_CPU "arc700"
+#define TARGET_WITH_CPU "hs38_linux"
#endif /* TARGET_WITH_CPU */
#define ARC_GET_FLAG(s) (*symbol_get_tc (s))
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-04 10:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-04 10:27 [committed 1/2] arc: Update neg<.f> 0,b encoding Claudiu Zissulescu
2023-07-04 10:27 ` [committed 2/2] arc: Update default target CPU to match GCC defaults Claudiu Zissulescu
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).