From patchwork Wed Aug 31 21:57:05 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 112705 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C003FB6F86 for ; Thu, 1 Sep 2011 08:33:01 +1000 (EST) Received: from localhost ([::1]:39070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QytL8-0007ya-RX for incoming@patchwork.ozlabs.org; Wed, 31 Aug 2011 18:32:58 -0400 Received: from eggs.gnu.org ([140.186.70.92]:57537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QytKu-0007nZ-Kw for qemu-devel@nongnu.org; Wed, 31 Aug 2011 18:32:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QytKt-0006lQ-KH for qemu-devel@nongnu.org; Wed, 31 Aug 2011 18:32:44 -0400 Received: from [188.134.19.124] (port=34544 helo=octofox.metropolis) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QytKt-0006fg-9T for qemu-devel@nongnu.org; Wed, 31 Aug 2011 18:32:43 -0400 Received: from octofox.metropolis (localhost [127.0.0.1]) by octofox.metropolis (8.14.5/8.14.5) with ESMTP id p7VLvnq1028638; Thu, 1 Sep 2011 01:57:49 +0400 Received: (from jcmvbkbc@localhost) by octofox.metropolis (8.14.5/8.14.5/Submit) id p7VLvnkf028637; Thu, 1 Sep 2011 01:57:49 +0400 From: Max Filippov To: qemu-devel@nongnu.org Date: Thu, 1 Sep 2011 01:57:05 +0400 Message-Id: <1314827843-28543-15-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 1.7.6 In-Reply-To: <1314827843-28543-1-git-send-email-jcmvbkbc@gmail.com> References: <1314827843-28543-1-git-send-email-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 188.134.19.124 Cc: jcmvbkbc@gmail.com Subject: [Qemu-devel] [PATCH v3 14/32] target-xtensa: implement SYNC group X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org All operations in this group are no-ops, because there are no delayed side effects. Signed-off-by: Max Filippov --- target-xtensa/translate.c | 31 ++++++++++++++++++++++++++++++- 1 files changed, 30 insertions(+), 1 deletions(-) diff --git a/target-xtensa/translate.c b/target-xtensa/translate.c index c3ecf19..805e79a 100644 --- a/target-xtensa/translate.c +++ b/target-xtensa/translate.c @@ -429,7 +429,36 @@ static void disas_xtensa_insn(DisasContext *dc) break; case 2: /*SYNC*/ - TBD(); + switch (RRR_T) { + case 0: /*ISYNC*/ + break; + + case 1: /*RSYNC*/ + break; + + case 2: /*ESYNC*/ + break; + + case 3: /*DSYNC*/ + break; + + case 8: /*EXCW*/ + HAS_OPTION(XTENSA_OPTION_EXCEPTION); + break; + + case 12: /*MEMW*/ + break; + + case 13: /*EXTW*/ + break; + + case 15: /*NOP*/ + break; + + default: /*reserved*/ + RESERVED(); + break; + } break; case 3: /*RFEIx*/