Deutsch English Français Italiano |
<2024Aug1.191028@mips.complang.tuwien.ac.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: anton@mips.complang.tuwien.ac.at (Anton Ertl) Newsgroups: comp.arch Subject: Re: Arguments for a sane ISA 6-years later Date: Thu, 01 Aug 2024 17:10:28 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 20 Message-ID: <2024Aug1.191028@mips.complang.tuwien.ac.at> References: <b5d4a172469485e9799de44f5f120c73@www.novabbs.org> <v7ubd4$2e8dr$1@dont-email.me> <v7uc71$2ec3f$1@dont-email.me> <2024Jul26.190007@mips.complang.tuwien.ac.at> <v811ub$309dk$1@dont-email.me> <2024Jul29.145933@mips.complang.tuwien.ac.at> <v88gru$ij11$1@dont-email.me> <2024Jul30.114424@mips.complang.tuwien.ac.at> <v8bi3e$16ahe$1@dont-email.me> Injection-Date: Thu, 01 Aug 2024 19:14:28 +0200 (CEST) Injection-Info: dont-email.me; posting-host="9c6cb8df3cbe72c15b04922cd88fdb90"; logging-data="2394559"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Q54Sn08xsoyecpASyvMZK" Cancel-Lock: sha1:Cgc7H2GApGbJMg23mALoNKRFy2E= X-newsreader: xrn 10.11 BGB <cr88192@gmail.com> writes: >Some amount of the cases where consistency issues have come up in my >case have do do with RAM-backed hardware devices, like the rasterizer >module. It has its own internal caches that need to be flushed, and not >flushing caches (between this module and CPU) when trying to "transfer" >control over things like the framebuffer or Z-buffer, can result in >obvious graphical issues (and, texture-corruption doesn't necessarily >look good either). The approach taken on AMD64 CPUs is to have different memory types (and associated memory type range registers). Plain DRAM is write-back cached, but there is also write-through and uncacheable memory. For a frame buffer that is read by some hardware that can access the memory independently, write-through seems to be the way to go. - anton -- 'Anyone trying for "industrial quality" ISA should avoid undefined behavior.' Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>