Basic FADD implementation

Only handles addition of two positive numbers
This commit is contained in:
Scott Mansell authored and Stefanos Kornilios Mitsis Poiitidis committed 2020-03-06 07:56:07 +02:00
1 parent 3402b7293e
commit 7f840aa3e9
4 files changed
+78 -2

No files matched your search

+4 -1
View File
@@ -250,7 +250,10 @@ constexpr uint32_t FLAGS_MODRM = (1 << 16);
// But some instructions need to ignore this overlay and consume these prefixes.
constexpr uint32_t FLAGS_NO_OVERLAY = (1 << 20);
constexpr uint32_t FLAGS_SIZE_DST_OFF = 21;
// x87
constexpr uint32_t FLAGS_POP = (1 << 21);
constexpr uint32_t FLAGS_SIZE_DST_OFF = 26;
constexpr uint32_t FLAGS_SIZE_SRC_OFF = FLAGS_SIZE_DST_OFF + 3;
constexpr uint32_t SIZE_MASK = 0b111;