Deutsch English Français Italiano |
<vlj1pg$25p0e$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.arch Subject: Re: Segments Date: Tue, 7 Jan 2025 11:05:20 -0000 (UTC) Organization: A noiseless patient Spider Lines: 30 Message-ID: <vlj1pg$25p0e$1@dont-email.me> References: <vdlgl9$3kq50$2@dont-email.me> <vdtmv9$16lu8$1@dont-email.me> <2024Oct6.150415@mips.complang.tuwien.ac.at> <vl7m2b$6iat$1@paganini.bofh.team> <2025Jan3.093849@mips.complang.tuwien.ac.at> <vlcddh$j2gr$1@paganini.bofh.team> <2025Jan5.121028@mips.complang.tuwien.ac.at> <vleuou$rv85$1@paganini.bofh.team> <ndamnjpnt8pkllatkdgq9qn2turaao1f0a@4ax.com> <2025Jan6.092443@mips.complang.tuwien.ac.at> <vlgreu$1lsr9$1@dont-email.me> <vlhjtm$1qrs5$1@dont-email.me> <bdZeP.23664$Hfb1.16566@fx46.iad> Injection-Date: Tue, 07 Jan 2025 12:05:21 +0100 (CET) Injection-Info: dont-email.me; posting-host="b4538e50db6eae8949cc6a23d1a47c8e"; logging-data="2286606"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18lwv5MO/MF6ALLgJnYXGfOiye70ExyKgk=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:LCkEiUqsE3ZOK/GhgiaWnXdk9Fo= Bytes: 2231 Scott Lurndal <scott@slp53.sl.home> schrieb: >>Assume a class of load and store instructions containing >> >>- One source or destination register >>- One base register >>- One index register >>- One ubound register > > See aforementioned CHERI. CHERY targets C, which on the one hand, I understand (there's a ton of C code out there), but trying to retrofit a safe memory model onto C seems a bit awkward - it might have been better to target a language which has arrays in the first place, unlike C. The floating point size is weird (and also does not catch all errors, such as writing one element past a huge array). I haven't seen any consideration of how CHERI would integrate with languages which have multidimensional arrays. How would do j=1,10 do i=1,11 a(i,j) = 42. end do end do interact with Cheri if a was a 10*10 array ? Would it be necessary to create a capability for a(:,j)?