Comments (4)
Using a similar solution that was used for #54 we can implement R4R4/R8R8 division and remainder.
A possible start could be extracting the algorithms used in https://quadruple.codeplex.com/SourceControl/latest#Quadruple/Quadruple/Quad.cs
then converting them to use floats and doubles with stand-in structs where necessary.
from mosa-project.
That library would be useful for CPU without a floating point processor. For Intel, I think we simply complete the missing R4/R8 operations.
Also, note that code is under the GNU Lesser General Public License. Can you check with the author and see if he can license it under New BSD as well?
from mosa-project.
I propose we push this for a future milestone such as 1.4 or 1.5 as this is a pretty difficult bug to solve and will not be immediately beneficial as remainder of floats/doubles are hardly ever used.
from mosa-project.
Agreed.
from mosa-project.
Related Issues (20)
- Integrate Unit Test Engine into BareMetal
- Assertion fails during ComputeArgumentSize HOT 7
- Adding DeviceService to ServiceManager causes a `System.IndexOutOfRangeException` HOT 2
- BUG: Conversion from R4/R8 to U4 HOT 2
- Add ARM64 Opcodes HOT 3
- Create ARM64 Projects HOT 2
- Add ARM32/ARM64 Launch options to Qemu HOT 1
- Optimize Integer Division with Constant Values HOT 1
- BUG: Register allocator - overlapping live ranges HOT 1
- Optimization: PHI Instruction Improvement
- Unit Tests: IntegerTwiddling and BitTwiddling classes
- Merge Korlib.Plug.* and Runtime.* projects HOT 1
- Export Counters to File
- Create CPU Registers
- Integrate BitTracker into Basic Optimization Stage (Part 2)
- Track Counter Files between Git versions
- X86 Expanded LEA instruction
- Add ARM32 UART Serial Controller HOT 2
- Add ARM32 Interrupt Vector Table HOT 1
- Add X86/X64 RDSEED Instruction
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.
from mosa-project.