From c2bf4b89508f73142d837332380ea94e30adb4c2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 16 May 2020 16:00:11 +0100 Subject: [PATCH] Re: [libre-riscv-dev] Scoreboard vs Tomasulo --- b5/03f6f14af8ab146732605b6fe68cb5be204cc4 | 156 ++++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 b5/03f6f14af8ab146732605b6fe68cb5be204cc4 diff --git a/b5/03f6f14af8ab146732605b6fe68cb5be204cc4 b/b5/03f6f14af8ab146732605b6fe68cb5be204cc4 new file mode 100644 index 0000000..b01b945 --- /dev/null +++ b/b5/03f6f14af8ab146732605b6fe68cb5be204cc4 @@ -0,0 +1,156 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Sat, 16 May 2020 16:00:36 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jZyIl-0001RZ-5V; Sat, 16 May 2020 16:00:35 +0100 +Received: from lkcl.net ([217.147.94.29]) + by libre-soc.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.89) (envelope-from ) id 1jZyIj-0001RN-PZ + for libre-riscv-dev@lists.libre-riscv.org; Sat, 16 May 2020 16:00:33 +0100 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lkcl.net; + s=201607131; + h=Content-Type:To:Subject:Message-ID:Date:From:References:In-Reply-To:MIME-Version; + bh=Wlci3yt9WU/XrOieo2h6OglMfUE/5gu0CrDRDZ5IKYc=; + b=elUHgc6zwyBNhPWUjg8Duu//yzus99KjeR1yl4id7vCcwwaFs9EG0yOUtUM6x9++gmYY6kVS3tkXyOwMzNOinW+gvjrt8DGav1l1dlusVx7kPlcXCXxF9ed02rkrNVagZUZ6au09u39KjgxmQCuyuh3+upYuasLcQo3kClFRc8I=; +Received: from mail-lj1-f170.google.com ([209.85.208.170]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1jZyIj-0007EE-Ba + for libre-riscv-dev@lists.libre-riscv.org; Sat, 16 May 2020 15:00:33 +0000 +Received: by mail-lj1-f170.google.com with SMTP id g1so5279780ljk.7 + for ; + Sat, 16 May 2020 08:00:17 -0700 (PDT) +X-Gm-Message-State: AOAM532mZCtcjd4XL2sO1wpszv6aROI7OGpZHPdfR2IwzRFrkIdZdmPC + caborjejwMJEctX0iwQ+r4Mz66S4mDG1Vs9C4Rs= +X-Google-Smtp-Source: ABdhPJwz9w/xRPZiWcqu8HbJyT9DBH+NJaaiYJMsIZ8I4jCBiOrWeSkmNsqBVUYNZUKrYb7+VE0I4BDRi/BHzCzNJ+Q= +X-Received: by 2002:a2e:9081:: with SMTP id l1mr5025738ljg.81.1589641212151; + Sat, 16 May 2020 08:00:12 -0700 (PDT) +MIME-Version: 1.0 +Received: by 2002:a05:6504:31aa:0:0:0:0 with HTTP; Sat, 16 May 2020 08:00:11 + -0700 (PDT) +In-Reply-To: <13EDF987-9A19-4C96-89C2-6DB784CF2C96@gatech.edu> +References: <13EDF987-9A19-4C96-89C2-6DB784CF2C96@gatech.edu> +From: Luke Kenneth Casson Leighton +Date: Sat, 16 May 2020 16:00:11 +0100 +X-Gmail-Original-Message-ID: +Message-ID: +To: Libre-RISCV General Development +X-Content-Filtered-By: Mailman/MimeDel 2.1.23 +Subject: Re: [libre-riscv-dev] Scoreboard vs Tomasulo +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" + +T24gU2F0dXJkYXksIE1heSAxNiwg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