From ad097ef2462772eabd460029e9de673cf1a5815a Mon Sep 17 00:00:00 2001 From: bugzilla-daemon Date: Sun, 5 Apr 2020 21:43:12 +0000 Subject: [PATCH] [libre-riscv-dev] [Bug 280] POWER spec parser needs to support fall-through cases --- 36/e64601b0691828811b3a5631d45ea8ed6bf28c | 116 ++++++++++++++++++++++ 1 file changed, 116 insertions(+) create mode 100644 36/e64601b0691828811b3a5631d45ea8ed6bf28c diff --git a/36/e64601b0691828811b3a5631d45ea8ed6bf28c b/36/e64601b0691828811b3a5631d45ea8ed6bf28c new file mode 100644 index 0000000..69bb26d --- /dev/null +++ b/36/e64601b0691828811b3a5631d45ea8ed6bf28c @@ -0,0 +1,116 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Sun, 05 Apr 2020 22:43:14 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-riscv.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jLD2v-00078O-TV; Sun, 05 Apr 2020 22:43:13 +0100 +Received: from localhost ([127.0.0.1] helo=bugs.libre-riscv.org) + by libre-riscv.org with esmtp (Exim 4.89) + (envelope-from ) id 1jLD2u-00078H-0X + for libre-riscv-dev@lists.libre-riscv.org; Sun, 05 Apr 2020 22:43:12 +0100 +From: bugzilla-daemon@libre-riscv.org +To: libre-riscv-dev@lists.libre-riscv.org +Date: Sun, 05 Apr 2020 21:43:12 +0000 +X-Bugzilla-Reason: CC +X-Bugzilla-Type: changed +X-Bugzilla-Watch-Reason: None +X-Bugzilla-Product: Libre-SOC's first SoC +X-Bugzilla-Component: Source Code +X-Bugzilla-Version: unspecified +X-Bugzilla-Keywords: +X-Bugzilla-Severity: enhancement +X-Bugzilla-Who: programmerjake@gmail.com +X-Bugzilla-Status: CONFIRMED +X-Bugzilla-Resolution: +X-Bugzilla-Priority: --- +X-Bugzilla-Assigned-To: lkcl@lkcl.net +X-Bugzilla-Flags: +X-Bugzilla-Changed-Fields: +Message-ID: +In-Reply-To: +References: +X-Bugzilla-URL: http://bugs.libre-riscv.org/ +Auto-Submitted: auto-generated +MIME-Version: 1.0 +Subject: [libre-riscv-dev] [Bug 280] POWER spec parser needs to support + fall-through cases +X-BeenThere: libre-riscv-dev@lists.libre-riscv.org +X-Mailman-Version: 2.1.23 +Precedence: list +List-Id: Libre-RISCV General Development + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Reply-To: Libre-RISCV General Development + +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 +Errors-To: libre-riscv-dev-bounces@lists.libre-riscv.org +Sender: "libre-riscv-dev" + +aHR0cDovL2J1Z3MubGlicmUtcmlzY3Yub3JnL3Nob3dfYnVnLmNnaT9pZD0yODAKCi0tLSBDb21t +ZW50ICM0IGZyb20gSmFjb2IgTGlmc2hheSA8cHJvZ3JhbW1lcmpha2VAZ21haWwuY29tPiAtLS0K +KEluIHJlcGx5IHRvIEx1a2UgS2VubmV0aCBDYXNzb24gTGVpZ2h0b24gZnJvbSBjb21tZW50ICMz +KQo+IChJbiByZXBseSB0byBKYWNvYiBMaWZzaGF5IGZyb20gY29tbWVudCAjMikKPiA+IChJbiBy +ZXBseSB0byBMdWtlIEtlbm5ldGggQ2Fzc29uIExlaWdodG9uIGZyb20gY29tbWVudCAjMCkKPiA+ +ID4gdGhpcyBpcyB2ZXJ5IHRyaWNreSB0byBnZXQgd29ya2luZyBhdCB0aGUgKmxleGVyKiBsZXZl +bCBhbmQgc3RpbGwgc3VwcG9ydAo+ID4gPiB3aGl0ZXNwYWNlIGluZGVudGF0aW9uLgo+ID4gPiAK +PiA+ID4gc3dpdGNoIChuKQo+ID4gPiAgICAgY2FzZSgxKTogeCA8LSA1Cj4gPiA+ICAgICBjYXNl +KDIpOiAjIGhlcmUKPiA+ID4gICAgIGNhc2UoMyk6Cj4gPiA+ICAgICAgICAgeCA8LSAzCj4gPiA+ +ICAgICBkZWZhdWx0Ogo+ID4gPiAgICAgICAgIHggPC0gOQo+ID4gPiBw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HQgd2l0aG91dCB0aGUgdHJhaWxpbmcgbmV3bGluZSAiIiIKCiAgICBpbmRlbnRfZGVwdGhf +c3RhY2sgPSBbMF0KICAgIGZvciBsaW5lIGluIGxpbmVzOgogICAgICAgICMgYXNzdW1lIHdlIGRv +bid0IGhhdmUgdG8gd29ycnkgYWJvdXQgdGFicyBpbiBzdHJpbmcgbGl0ZXJhbHMKICAgICAgICBl +eHBhbmRlZF9saW5lID0gbGluZS5leHBhbmR0YWJzKCkKICAgICAgICBsaW5lID0gZXhwYW5kZWRf +bGluZS5sc3RyaXAoKQogICAgICAgICMgY291bnQgaW5kZW50IGRlcHRoCiAgICAgICAgZGVwdGgg +PSBsZW4oZXhwYW5kZWRfbGluZSkgLSBsZW4obGluZSkKICAgICAgICBpZiBsaW5lID09ICIiIG9y +IGxpbmVbMF0gPT0gIiMiOgogICAgICAgICAgICAjIGVtcHR5IGxpbmVzIGRvbid0IGhhdmUgdG8g +bWF0Y2ggZGVwdGgKICAgICAgICAgICAgIyBkb24ndCB5aWVsZCByZXBlYXRlZCBOTCB0b2tlbnMK +ICAgICAgICAgICAgY29udGludWUKICAgICAgICBpZiBkZXB0aCA+IGluZGVudF9kZXB0aF9zdGFj +ay50b3AoKToKICAgICAgICAgICAgeWllbGQgSU5ERU5UCiAgICAgICAgICAgIGluZGVudF9kZXB0 +aF9zdGFjay5hcHBlbmQoZGVwdGgpCiAgICAgICAgZWxzZToKICAgICAgICAgICAgd2hpbGUgZGVw +dGggPCBpbmRlbnRfZGVwdGhfc3RhY2tbLTFdOgogICAgICAgICAgICAgICAgeWllbGQgREVERU5U +CiAgICAgICAgICAgICAgICBpbmRlbnRfZGVwdGhfc3RhY2sucG9wKCkKICAgICAgICAgICAgaWYg +ZGVwdGggPiBpbmRlbnRfZGVwdGhfc3RhY2tbLTFdOgogICAgICAgICAgICAgICAgcmFpc2UgSW5k +ZW50RGVwdGhNaXNtYXRjaCgiaW5kZW50IGRlcHRoIGRvZXNuJ3QgbWF0Y2ghIikKICAgICAgICB5 +aWVsZCBmcm9tIHRva2VuaXplKGxpbmUpCiAgICAgICAgeWllbGQgTkwKICAgIHdoaWxlIGluZGVu +dF9kZXB0aF9zdGFja1stMV0gIT0gMDoKICAgICAgICB5aWVsZCBERURFTlQKICAgICAgICBpbmRl +bnRfZGVwdGhfc3RhY2sucG9wKCkKCi0tIApZb3UgYXJlIHJlY2VpdmluZyB0aGlzIG1haWwgYmVj +YXVzZToKWW91IGFyZSBvbiB0aGUgQ0MgbGlzdCBmb3IgdGhlIGJ1Zy4KX19fX19fX19fX19fX19f +X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KbGlicmUtcmlzY3YtZGV2IG1haWxpbmcg +bGlzdApsaWJyZS1yaXNjdi1kZXZAbGlzdHMubGlicmUtcmlzY3Yub3JnCmh0dHA6Ly9saXN0cy5s +aWJyZS1yaXNjdi5vcmcvbWFpbG1hbi9saXN0aW5mby9saWJyZS1yaXNjdi1kZXYK + -- 2.30.2