copies-and-fills's People
copies-and-fills's Issues
Using stmia in the mempcy as well as memset
Memset uses:
stmia r0!, {r1, r4, r5, r6}
stmia r0!, {r7, r8, r9, r10}
to store the data out, where as mempcy uses:
str r4, [r0], #4
str r5, [r0], #4
str r6, [r0], #4
str r7, [r0], #4
str r8, [r0], #4
str r9, [r0], #4
str r10, [r0], #4
It appears to me they do the same thing, but one in less instructons - no idea of the timings, but smaller code should be worth it even if the timing is equal. Not sure if there is a load-multiple that could replace the loads as well. Also there appear to be just 7 load/stores in that area?
Hmmm...just noticed this is a bit of code on the wrong side of a #if 1 - I'll get back in my cave.
Problems during emulation with qemu
I'm not sure if this has been addressed yet, but I know raspbian includes this library and loads it by default. When using qemu to emulate a raspbian environment, you have to comment out the line in /etc/ld.so.preload that loads libcofi_rpi.so (any tutorial for using qemu-user with raspbian will tell you to do this).
Commenting out a line is easy enough, except that you have to remember to uncomment it when you're done working in the emulated environment.
Is there a way make this library qemu-safe?
deleted
Typo in comment at top of memcpy.s
void memcpy(void *dest,
const void *source,
size_t source);
thirds argument should be called 'count' or something I guess.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.