From 98d23befa71616a16691c171a2899594c00c9c76 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Thu, 3 Feb 2011 23:20:26 +0000 Subject: gas/ * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic". * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic". (TIC6X Options): Don't mention "-matomic". * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete. (md_longopts): Remove corresponding entries. (md_parse_option): Don't handle them. (md_show_usage): Don't document them. (tic6x_atomic): Delete variable. (tic6x_update_features): Always copy tic6x_arch_enable to tic6x_features. (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC. (s_tic6x_atomic, s_tic6x_noatomic): Remove functions. (md_pseudo_table): Remove ".atomic" and ".noatomic". gas/testsuite/ * gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic. * gas/tic6x/dir-junk.s: Likewise. * gas/tic6x/insns-c674x-bad.d: Remove test. * gas/tic6x/insns-c674x-bad.l: Likewise. * gas/tic6x/insns-atomic.d: Remove "-matomic" switch. include/opcode/ * tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP. * tic6x.h (TIC6X_INSN_ATOMIC): Remove. --- include/opcode/ChangeLog | 5 +++++ include/opcode/tic6x-opcode-table.h | 8 ++++---- include/opcode/tic6x.h | 3 +-- 3 files changed, 10 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog index 8e07659..b127fd6 100644 --- a/include/opcode/ChangeLog +++ b/include/opcode/ChangeLog @@ -1,3 +1,8 @@ +2011-02-04 Bernd Schmidt + + * tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP. + * tic6x.h (TIC6X_INSN_ATOMIC): Remove. + 2010-12-31 John David Anglin PR gas/11395 diff --git a/include/opcode/tic6x-opcode-table.h b/include/opcode/tic6x-opcode-table.h index 5bd8f17..bd22558 100644 --- a/include/opcode/tic6x-opcode-table.h +++ b/include/opcode/tic6x-opcode-table.h @@ -1,5 +1,5 @@ /* TI C6X opcode table. - Copyright 2010 + Copyright 2010, 2011 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -791,7 +791,7 @@ INSN(cmpyr1, m, 1_or_2_src, 4cycle, C64XP, 0, ENC5(ENC(s, fu, 0), ENC(x, xpath, 0), ENC(src1, reg, 0), ENC(src2, reg, 1), ENC(dst, reg, 2))) -INSN(cmtl, d, 1_or_2_src, load, ATOMIC, +INSN(cmtl, d, 1_or_2_src, load, C64XP, TIC6X_FLAG_LOAD|TIC6X_FLAG_SIDE_B_ONLY|TIC6X_FLAG_SIDE_T2_ONLY|TIC6X_FLAG_NO_CROSS, FIX3(FIX(s, 1), FIX(op, 0xe), FIX(src1, 0)), OP2(ORMEMDW, OWDREG5), @@ -1089,7 +1089,7 @@ INSN(ldw, d, load_store_long, load, C62X, ENC4(ENC(s, data_fu, 0), ENC(y, areg, 0), ENC(offsetR, ulcst_dpr_word, 0), ENC(dst, reg, 1))) -INSN(ll, d, 1_or_2_src, load, ATOMIC, +INSN(ll, d, 1_or_2_src, load, C64XP, TIC6X_FLAG_LOAD|TIC6X_FLAG_SIDE_B_ONLY|TIC6X_FLAG_SIDE_T2_ONLY|TIC6X_FLAG_NO_CROSS, FIX3(FIX(s, 1), FIX(op, 0xc), FIX(src1, 0)), OP2(ORMEMDW, OWDREG5), @@ -1894,7 +1894,7 @@ INSNE(shru2, s_xu2_u5_u2, s, 1_or_2_src, 1cycle, C64X, 0, ENC5(ENC(s, fu, 0), ENC(x, xpath, 0), ENC(src2, reg, 0), ENC(src1, ucst, 1), ENC(dst, reg, 2))) -INSN(sl, d, 1_or_2_src, store, ATOMIC, +INSN(sl, d, 1_or_2_src, store, C64XP, TIC6X_FLAG_STORE|TIC6X_FLAG_SIDE_B_ONLY|TIC6X_FLAG_SIDE_T2_ONLY|TIC6X_FLAG_NO_CROSS, FIX3(FIX(s, 1), FIX(op, 0xd), FIX(src1, 0)), OP2(ORDREG1, OWMEMDW), diff --git a/include/opcode/tic6x.h b/include/opcode/tic6x.h index ab2f2e9..2a7a246 100644 --- a/include/opcode/tic6x.h +++ b/include/opcode/tic6x.h @@ -1,5 +1,5 @@ /* TI C6X opcode information. - Copyright 2010 + Copyright 2010, 2011 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify @@ -132,7 +132,6 @@ typedef struct #define TIC6X_INSN_C67X 0x0008 #define TIC6X_INSN_C67XP 0x0010 #define TIC6X_INSN_C674X 0x0020 -#define TIC6X_INSN_ATOMIC 0x0040 /* Flags with further information about an opcode table entry. */ -- cgit v1.1