Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Backed up the system lately?


devel / comp.arch / Re: Load/Store with auto-increment

SubjectAuthor
* Re: Load/Store with auto-incrementAnton Ertl
`- Re: Load/Store with auto-incrementBGB

1
Re: Load/Store with auto-increment

<2023May11.165813@mips.complang.tuwien.ac.at>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=32160&group=comp.arch#32160

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!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: Load/Store with auto-increment
Date: Thu, 11 May 2023 14:58:13 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 22
Message-ID: <2023May11.165813@mips.complang.tuwien.ac.at>
References: <u35prk$2ssbq$1@dont-email.me> <be260539-b8e5-408d-971c-16070e0e543dn@googlegroups.com> <52e78621-b93d-460a-8b1d-888512284d19n@googlegroups.com> <Nk96M.2805257$9sn9.1655802@fx17.iad> <u3bf3r$3ut5g$1@dont-email.me> <Ksb6M.534497$Olad.124053@fx35.iad> <u3bm2p$3vih2$1@dont-email.me> <2023May9.083355@mips.complang.tuwien.ac.at> <u3d3j4$7k5h$1@dont-email.me> <2023May9.182238@mips.complang.tuwien.ac.at> <u3e2jm$bb98$1@dont-email.me> <Tfw6M.596181$5CY7.96122@fx46.iad> <u3e4ll$bitr$1@dont-email.me>
Injection-Info: dont-email.me; posting-host="bc2e03655b91bf1121d8368dc6f60a96";
logging-data="1197229"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19cKYj4eM+wrACjFn9uLroK"
Cancel-Lock: sha1:UxdCsm0CZrNP1uPH4L52gA/q+Mo=
X-newsreader: xrn 10.11
 by: Anton Ertl - Thu, 11 May 2023 14:58 UTC

BGB <cr88192@gmail.com> writes:
>On 5/9/2023 1:26 PM, Scott Lurndal wrote:
>> BGB <cr88192@gmail.com> writes:
>>> There is no straightforward mapping between UTF-8 bytes and the logical
>>> X position of a cursor on screen.
>>
>> Why should there be a straighforward mapping? The cursor is an
>> abstract object which represents the location of character cell on the
>> screen, not a glyph in a UTF-8 stream.
>>
>
>If we know, say, that it is at column 30, and each cell is 8 pixels wide:
> Its X offset is 30*8

But UTF-32 does not give you "column 30" in any straightforward way,
either. You still have to inspect every code point from the start of
the line to the current position.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Re: Load/Store with auto-increment

<u3j65g$1593o$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=32163&group=comp.arch#32163

  copy link   Newsgroups: comp.arch
Path: i2pn2.org!i2pn.org!news.swapon.de!news.mixmin.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: cr88192@gmail.com (BGB)
Newsgroups: comp.arch
Subject: Re: Load/Store with auto-increment
Date: Thu, 11 May 2023 11:46:39 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <u3j65g$1593o$1@dont-email.me>
References: <u35prk$2ssbq$1@dont-email.me>
<be260539-b8e5-408d-971c-16070e0e543dn@googlegroups.com>
<52e78621-b93d-460a-8b1d-888512284d19n@googlegroups.com>
<Nk96M.2805257$9sn9.1655802@fx17.iad> <u3bf3r$3ut5g$1@dont-email.me>
<Ksb6M.534497$Olad.124053@fx35.iad> <u3bm2p$3vih2$1@dont-email.me>
<2023May9.083355@mips.complang.tuwien.ac.at> <u3d3j4$7k5h$1@dont-email.me>
<2023May9.182238@mips.complang.tuwien.ac.at> <u3e2jm$bb98$1@dont-email.me>
<Tfw6M.596181$5CY7.96122@fx46.iad> <u3e4ll$bitr$1@dont-email.me>
<2023May11.165813@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 May 2023 16:46:41 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7adb6d8692f54f2bba25bfdce2224f90";
logging-data="1221752"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2LlHNpvqxexWJjPok/EfJ"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.10.1
Cancel-Lock: sha1:svyL22K74lr4Yq6AzVZWslvI0es=
Content-Language: en-US
In-Reply-To: <2023May11.165813@mips.complang.tuwien.ac.at>
 by: BGB - Thu, 11 May 2023 16:46 UTC

On 5/11/2023 9:58 AM, Anton Ertl wrote:
> BGB <cr88192@gmail.com> writes:
>> On 5/9/2023 1:26 PM, Scott Lurndal wrote:
>>> BGB <cr88192@gmail.com> writes:
>>>> There is no straightforward mapping between UTF-8 bytes and the logical
>>>> X position of a cursor on screen.
>>>
>>> Why should there be a straighforward mapping? The cursor is an
>>> abstract object which represents the location of character cell on the
>>> screen, not a glyph in a UTF-8 stream.
>>>
>>
>> If we know, say, that it is at column 30, and each cell is 8 pixels wide:
>> Its X offset is 30*8
>
> But UTF-32 does not give you "column 30" in any straightforward way,
> either. You still have to inspect every code point from the start of
> the line to the current position.
>

As noted, I was arguing for a text editor using character cells, not UTF-32.

> - anton

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor