Skip to content

Commit

Permalink
fix: clang-format core/target structure
Browse files Browse the repository at this point in the history
  • Loading branch information
branylagaffe committed May 24, 2024
1 parent 5d24220 commit 0a131c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions core/targets/AARCH64.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
#endif // FLEXUS_TARGET

#define FLEXUS_LITTLE_ENDIAN 1
#define FLEXUS_BIG_ENDIAN 0
#define FLEXUS_BIG_ENDIAN 0

#define FLEXUS_TARGET_ARM 1

#define FLEXUS_TARGET FLEXUS_TARGET_ARM
#define FLEXUS_TARGET FLEXUS_TARGET_ARM
#define FLEXUS_TARGET_WORD_BITS 64
#define FLEXUS_TARGET_VA_BITS 64
#define FLEXUS_TARGET_PA_BITS 64
#define FLEXUS_TARGET_ENDIAN FLEXUS_LITTLE_ENDIAN
#define FLEXUS_TARGET_VA_BITS 64
#define FLEXUS_TARGET_PA_BITS 64
#define FLEXUS_TARGET_ENDIAN FLEXUS_LITTLE_ENDIAN

#define FLEXUS_TARGET_IS(target) (FLEXUS_TARGET == FLEXUS_TARGET_##target)

Expand Down
10 changes: 5 additions & 5 deletions core/targets/RISCV.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@
#endif // FLEXUS_TARGET

#define FLEXUS_LITTLE_ENDIAN 1
#define FLEXUS_BIG_ENDIAN 0
#define FLEXUS_BIG_ENDIAN 0

#define FLEXUS_TARGET_RISCV 1

#define FLEXUS_TARGET FLEXUS_TARGET_RISCV
#define FLEXUS_TARGET FLEXUS_TARGET_RISCV
#define FLEXUS_TARGET_WORD_BITS 64
#define FLEXUS_TARGET_VA_BITS 64
#define FLEXUS_TARGET_PA_BITS 64
#define FLEXUS_TARGET_ENDIAN FLEXUS_LITTLE_ENDIAN
#define FLEXUS_TARGET_VA_BITS 64
#define FLEXUS_TARGET_PA_BITS 64
#define FLEXUS_TARGET_ENDIAN FLEXUS_LITTLE_ENDIAN

#define FLEXUS_TARGET_IS(target) (FLEXUS_TARGET == FLEXUS_TARGET_##target)

Expand Down

0 comments on commit 0a131c9

Please sign in to comment.