Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/misoc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8db098dd8f2b
Choose a base ref
...
head repository: m-labs/misoc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 94cb3cbcf6eb
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Jul 30, 2015

  1. Enable ror, ffl1 and addc for OR1K.

    whitequark committed Jul 30, 2015
    Copy the full SHA
    4b6bd43 View commit details
  2. libbase: define intptr_t.

    whitequark committed Jul 30, 2015
    Copy the full SHA
    94cb3cb View commit details
Showing with 2 additions and 1 deletion.
  1. +1 −1 misoclib/soc/cpuif.py
  2. +1 −0 software/include/base/stdint.h
2 changes: 1 addition & 1 deletion misoclib/soc/cpuif.py
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ def get_cpu_mak(cpu_type):
clang = ""
elif cpu_type == "or1k":
triple = "or1k-linux"
cpuflags = "-mhard-mul -mhard-div"
cpuflags = "-mhard-mul -mhard-div -mror -mffl1 -maddc"
clang = "1"
else:
raise ValueError("Unsupported CPU type: "+cpu_type)
1 change: 1 addition & 0 deletions software/include/base/stdint.h
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@
extern "C" {
#endif

typedef int intptr_t;
typedef unsigned int uintptr_t;

typedef unsigned long long uint64_t;