TAILIEUCHUNG - Computer Organization and Architecture phần 7

kiểm tra phản ứng khẳng định § mỗi I / O module có chứa một địa chỉ đăng ký hộ, CPU đọc § tốn thời gian § Daisy Chain (phần cứng thăm dò ý kiến , vectored) § gián đoạn xảy ra trên đường dây yêu cầu ngắt được chia sẻ bởi tất cả các giác quan CPU CPU gián đoạn § gửi gián đoạn thừa nhận, | 61 Dealing with Branches A variety of approaches have been taken for dealing with conditional branches o Multiple Streams Instead of choosing one of the two instructions replicate the initial portions of the pipeline and allow it to fetch both instructions making use of two streams. Problems Contention delays for access to registers and memory Additional branch instructions may enter either stream of the pipeline before the original branch decision is resolved Examples IBM 370 168 and IBM 3033 o Prefetch Branch Target The target of the branch is prefetched in addition to the instruction following the branch. The target is saved until the branch instruction is executed so it is available without fetching at that time. Example IBM 360 91 o Loop Buffer A small very-high-speed memory maintained by the instruction fetch stage of the pipeline contains the n most recently fetched instructions in sequence if a branch is to be taken the buffer is checked first and the next instruction fetched from it instead of memory Benefits It will often contain an instruction sequentially ahead of the current instruction which can be used for prefetching If a branch occurs to a target just a few locations ahead of the branch instruction the target may already be in the buffer especially useful for IF-THEN and iF-THeN-ELSE sequences As implied by the name if the buffer is large enough to contain all the instructions in a loop they will only have to be fetched from memory once for all the consecutive iterations of that loop Similar in principle to an instruction cache but it only holds instructions in sequence smaller and thus lower cost Examples CDC Star-100 6600 7600 and CRAY-1 o Branch Prediction Try to predict which branch will be taken and prefetch that instruction Static techniques Predict Never Taken Assume that the branch will not be taken and continue to fetch in sequence Examples Motorola 68020 and VAX 11 780 Predict Always Taken Assume that the branch will always be taken and .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.