<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/contrib/cortex-strings, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=stable%2F13</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=stable%2F13'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2017-08-26T15:08:27Z</updated>
<entry>
<title>Work around a bug in QEMU when loading data with a load pair instruction</title>
<updated>2017-08-26T15:08:27Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2017-08-26T15:08:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8657387683946d0c03e09fe77029edfe309eeb20'/>
<id>urn:sha1:8657387683946d0c03e09fe77029edfe309eeb20</id>
<content type='text'>
where the source register is also the first destination register.

If this is the case, and we raise an exception in the middle of the
instruction, for example the load is across two pages and the second page
isn't mapped, QEMU will have overwritten the address with invalid data.

This is a valid behaviour in most cases, with the exception of when a
destination register is also use in address generation. As such switch
the order of the registers to ensure the address register is second so it
will be written to second, after any exceptions have happened.

This has been acknowledged in upstream QEMU, however as the workaround is
simple also handle it here.

Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>Fix the asm on the memchr and strchr functions.</title>
<updated>2016-09-19T14:36:16Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2016-09-19T14:36:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=27044e1770e79240a116c8d48ac0afc82b02de96'/>
<id>urn:sha1:27044e1770e79240a116c8d48ac0afc82b02de96</id>
<content type='text'>
Add an alias from index to strchr as is done in the libc C implementation.

Obtained from:	ABT Systems Ltd
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>Import the Linaro Cortex Strings library into contrib.</title>
<updated>2016-09-19T13:12:09Z</updated>
<author>
<name>Andrew Turner</name>
<email>andrew@FreeBSD.org</email>
</author>
<published>2016-09-19T13:12:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=09a53ad8f1318c5daae6cfb19d97f4f6459f0013'/>
<id>urn:sha1:09a53ad8f1318c5daae6cfb19d97f4f6459f0013</id>
<content type='text'>
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
</feed>
