Message ID | 20220602115837.2013918-15-laurent@vivier.eu |
---|---|
State | Accepted |
Commit | 43accc4862e0a88710411b205fdaf833dadf9951 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp483094max; Thu, 2 Jun 2022 05:16:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVjvOGEMAQnwyzvD+X8naBHDZwGr8BFHMn7orHnfayr0strUSqOlGiL8XWgDwkquDP4NiE X-Received: by 2002:a37:a74f:0:b0:6a6:7f41:f11a with SMTP id q76-20020a37a74f000000b006a67f41f11amr1005962qke.721.1654172193828; Thu, 02 Jun 2022 05:16:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654172193; cv=none; d=google.com; s=arc-20160816; b=H9Y4BG5TtA6uy44P9HZoqqgYTkEj3D2TvCuebM9MDF7oo9HrvCvTn/Z0Xmh+rjyq/1 /R3m7fGrrvJ7kNN9aaiLiokDDhN4UjAZRwUzP5AEeYpAPgAfwo3/ekNwXASygQ4wCeDY lkCskopjcrwyauOGQshPpnEC1LiLxXUoP0xEOPhRK9IzTI7TYe+NedIfOJDhxdahCY8e RKeDFVJ1iq0x9gn7cz5X5WHEKKBEnufu6TRhSG7Kd26M4BL6d4dhqiv9GYBmVM0RZv+L xw9cgdPQUbym5TAsA0ejODzetOvvuwLp0veuIKVq7eD2jkjQ5OFwDCSZgogWzNUYq5yB K7dg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from; bh=7j/ebFfbC2Oi7ikZhO51Q+9g7S+MERQSLsinJVzrXgg=; b=TciiK2TLa8PSBXPpHm3qvtrKirWQ161Ord7W9QzVa5gedWCmNThuKm28E52lig346b sKJmUuXYQDydKCDlriP/3AIus1pQcKvU3waT+hCoIKxL0+0C+TypvxoukRj/xxAU5Zpe BD++dY1H3HB1CTmddTWEhWbPJZKoIEDDed4/b7fZHBaVtrTEvCiyRi8RDTmLCqefn3Dk rvAWuoBKB3C5CIVRnMS6Ohx3VYV0ZxqVTLKffAcb9YYdp0kv7ZiFlxifDlCdKtpzB4s+ y1p5I7artJUJH0P1FuSn8Uhmb/ldQHcDBKauhWI+V1F+JoigaVQNwVFpA65ejNg2+Evw R6KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id s6-20020a05620a29c600b006a06ffefacasi2463897qkp.522.2022.06.02.05.16.33 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Jun 2022 05:16:33 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([::1]:46284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1nwjkd-0004Hr-MM for patch@linaro.org; Thu, 02 Jun 2022 08:16:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1nwjTV-0000en-FU for qemu-devel@nongnu.org; Thu, 02 Jun 2022 07:58:49 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:42613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <laurent@vivier.eu>) id 1nwjTT-0001Ep-QI for qemu-devel@nongnu.org; Thu, 02 Jun 2022 07:58:49 -0400 Received: from quad ([82.142.8.70]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MO9vD-1o86Fo35UP-00Oa2j; Thu, 02 Jun 2022 13:58:45 +0200 From: Laurent Vivier <laurent@vivier.eu> To: qemu-devel@nongnu.org Cc: Laurent Vivier <laurent@vivier.eu>, Richard Henderson <richard.henderson@linaro.org> Subject: [PULL 14/19] target/m68k: Implement TRAPV Date: Thu, 2 Jun 2022 13:58:32 +0200 Message-Id: <20220602115837.2013918-15-laurent@vivier.eu> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220602115837.2013918-1-laurent@vivier.eu> References: <20220602115837.2013918-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K1:1OPeGsv3Q5yuq+In3e8gfptCQoLv/GmfjNIQCmz4hie6xw4gZDY EXACP5F9AujWU7Ef63iPaQ2n5auMQTaOHbeFk6CwyMj+W/zVG8vSV11APLv3IiPa9bV/qWC /ttCEIXXPeyE/KVigcGmOi4R2l5Nk88+ecw9/gUHNny1zBwP/0E1Qcdb5NM8OaVl0+p/NsP /ruNFD83OmQuRJf3tAh+w== X-UI-Out-Filterresults: notjunk:1;V03:K0:AurgsR2fp/8=:7Liw5zF12r9MeX8q0RI3JY 8uNIQ8z3D1iZ0OOx+XRWn0coPGhcnncwLINpBMqHVUj5hY/34CcYi5jzrys+rbj4G8KNAp2ev cduA69YRg47T6PMm1jc5flomfAL5o71KrU4mqcaDm9sn5USqWf3sN1Nr87YH+nP5YiOfW5kus +3wtaPsORpgiMJkWTg2Il3eYk9Dh7rNxt2mM/ZFOmlo/OnPZrDhJ5AXplpjuNo5CHJE6ZK8l9 HpRdsiwNLOn3YAilsC4vGPyAlOxsptowenLCqSzZS6iydwvQ3Y3geshkVBAAoDoFoDpsOa81i 9Sw5XAetiIvUx0519QNge8fwUSF6i7RPonCdL4IR0+6cMSIuQapQ+DkISFRp7IMZ2yZ5JSaox tOaPmCklpcbnPmMMnM+T2+nZfE/VQqHk1H/GjAe161YRIideqJOIy4cxV4S5vvNqWIjAs2foF AhBR4KzJf+vLh4xMMjueNI61tFHoXt3onqX47GXGMlQ3w4qgxnIRfk4uL+U2MQVrsOkehHIzl tU6h7jHE0BIGkRj4K2yAmJj8cPAKS/roSzln04vV0PoOWJx8XlijPQuurhcekd7uTy7tPzNXs BfB41BqeWB3msRbjGqFNHAsw27nmwhZmyOxpov1NoTFMeQQaR6ayEcKuGhIbTVxD7xa5QrXeP TXcGGsrmA3P+Z1vkac/VOHtNvyxzeWxEpTU3deoG3li5hoGjPLqWFSktrVHc3gxuQ417/7tdj tqkaTNkQ/kAWHWOeNUf0D2FXN/99l9HCJqLmbQ== Received-SPF: none client-ip=217.72.192.73; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
[PULL,01/19] target/m68k: Clear mach in m68k_cpu_disas_set_info
|
expand
|
diff --git a/target/m68k/translate.c b/target/m68k/translate.c index 8b2157c31f54..0dfddaa05628 100644 --- a/target/m68k/translate.c +++ b/target/m68k/translate.c @@ -4910,6 +4910,14 @@ DISAS_INSN(trapcc) do_trapcc(s, &c); } +DISAS_INSN(trapv) +{ + DisasCompare c; + + gen_cc_cond(&c, s, 9); /* V set */ + do_trapcc(s, &c); +} + static void gen_load_fcr(DisasContext *s, TCGv res, int reg) { switch (reg) { @@ -6074,6 +6082,7 @@ void register_m68k_insns (CPUM68KState *env) BASE(nop, 4e71, ffff); INSN(rtd, 4e74, ffff, RTD); BASE(rts, 4e75, ffff); + INSN(trapv, 4e76, ffff, M68000); INSN(rtr, 4e77, ffff, M68000); BASE(jump, 4e80, ffc0); BASE(jump, 4ec0, ffc0);