Skip to content

Commit

Permalink
assembler: Separate implementations into different files
Browse files Browse the repository at this point in the history
Makes the instruction implementations a little more organized without
cluttering up assembler.cpp too much.

Chiefly we just want to split up the compressed instructions and the
scalar floating-point instructions, since they're quite numberous
and also very likely to be open to more expansion in the future.
  • Loading branch information
lioncash committed Jan 10, 2024
1 parent 362db7b commit d181b21
Show file tree
Hide file tree
Showing 5 changed files with 1,335 additions and 1,278 deletions.
3 changes: 3 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@
add_library(biscuit
# Source files
assembler.cpp
assembler_compressed.cpp
assembler_crypto.cpp
assembler_floating_point.cpp
assembler_vector.cpp
code_buffer.cpp
cpuinfo.cpp

# Headers
assembler_util.hpp
"${PROJECT_SOURCE_DIR}/include/biscuit/assembler.hpp"
"${PROJECT_SOURCE_DIR}/include/biscuit/assert.hpp"
"${PROJECT_SOURCE_DIR}/include/biscuit/code_buffer.hpp"
Expand Down
Loading

0 comments on commit d181b21

Please sign in to comment.