Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
H
hostCompiledSimulation
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
hostCompiledSimulation
Commits
e223c0b1
Commit
e223c0b1
authored
Jun 27, 2014
by
Gaurav Kukreja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modified Makefiles of benchmarks to use linker scripts and generate objdump from IR
Signed-off-by:
Gaurav Kukreja
<
gaurav@gauravk.in
>
parent
e7b914aa
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
22 deletions
+22
-22
Makefile
examples/adpcm/app_dir/Makefile
+2
-2
Makefile
examples/adpcm/ir_c/Makefile
+2
-2
Makefile
examples/basicmath/app_dir/Makefile
+2
-2
Makefile
examples/basicmath/ir_c/Makefile
+2
-2
Makefile
examples/crc32/app_dir/Makefile
+2
-2
Makefile
examples/crc32/ir_c/Makefile
+2
-2
Makefile
examples/sha/app_dir/Makefile
+2
-2
Makefile
examples/sha/ir_c/Makefile
+2
-2
Makefile
examples/sieve/app_dir/Makefile
+4
-4
Makefile
examples/sieve/ir_c/Makefile
+2
-2
No files found.
examples/adpcm/app_dir/Makefile
View file @
e223c0b1
...
@@ -18,9 +18,9 @@ ifdef PHASE
...
@@ -18,9 +18,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
-T
generic-hosted.ld
else
else
COPTS
=
-static
${
OPT
}
COPTS
=
-static
${
OPT
}
-T
generic-hosted.ld
endif
endif
ifdef
PRINT
ifdef
PRINT
...
...
examples/adpcm/ir_c/Makefile
View file @
e223c0b1
...
@@ -23,9 +23,9 @@ ifdef PHASE
...
@@ -23,9 +23,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
-T
generic-hosted.ld
else
else
COPTS
=
-static
${
OPT
}
COPTS
=
-static
${
OPT
}
-T
generic-hosted.ld
endif
endif
ifdef
PRINT
ifdef
PRINT
...
...
examples/basicmath/app_dir/Makefile
View file @
e223c0b1
...
@@ -18,9 +18,9 @@ ifdef PHASE
...
@@ -18,9 +18,9 @@ ifdef PHASE
OBJDUMP
=
$(CROSS_OBJDUMP)
OBJDUMP
=
$(CROSS_OBJDUMP)
OEXT
=
elf
OEXT
=
elf
ifeq
(${MATH},
libsource)
ifeq
(${MATH},
libsource)
COPTS
=
-D_IEEE_LIBM
-D__IEEE_BIG_ENDIAN
-I
${
MY_MPATH2
}
-I
${
MY_MPATH3
}
-static
-msoft-float
${
OPT
}
${
TREEDUMP
}
COPTS
=
-D_IEEE_LIBM
-D__IEEE_BIG_ENDIAN
-I
${
MY_MPATH2
}
-I
${
MY_MPATH3
}
-static
-msoft-float
${
OPT
}
${
TREEDUMP
}
-T
generic-hosted.ld
else
else
COPTS
=
-static
-msoft-float
${
OPT
}
${
TREEDUMP
}
COPTS
=
-static
-msoft-float
${
OPT
}
${
TREEDUMP
}
-T
generic-hosted.ld
endif
endif
else
else
CC
=
$(GCC)
CC
=
$(GCC)
...
...
examples/basicmath/ir_c/Makefile
View file @
e223c0b1
...
@@ -18,9 +18,9 @@ ifdef PHASE
...
@@ -18,9 +18,9 @@ ifdef PHASE
OBJDUMP
=
$(CROSS_OBJDUMP)
OBJDUMP
=
$(CROSS_OBJDUMP)
OEXT
=
elf
OEXT
=
elf
ifeq
(${MATH},
libsource)
ifeq
(${MATH},
libsource)
COPTS
=
-D_IEEE_LIBM
-D__IEEE_BIG_ENDIAN
-I
${
MY_MPATH2
}
-I
${
MY_MPATH3
}
-static
-ms
im
-msoft-float
${
OPT
}
${
TREEDUMP
}
-I
.
COPTS
=
-D_IEEE_LIBM
-D__IEEE_BIG_ENDIAN
-I
${
MY_MPATH2
}
-I
${
MY_MPATH3
}
-static
-ms
oft-float
${
OPT
}
${
TREEDUMP
}
-I
.
-T
generic-hosted.ld
else
else
COPTS
=
-static
-ms
im
-msoft-float
${
OPT
}
${
TREEDUMP
}
-I
.
COPTS
=
-static
-ms
oft-float
${
OPT
}
${
TREEDUMP
}
-I
.
-T
generic-hosted.ld
endif
endif
else
else
CC
=
$(GCC)
CC
=
$(GCC)
...
...
examples/crc32/app_dir/Makefile
View file @
e223c0b1
...
@@ -16,9 +16,9 @@ ifdef PHASE
...
@@ -16,9 +16,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
-T
generic-hosted.ld
else
else
COPTS
=
-static
${
OPT
}
COPTS
=
-static
${
OPT
}
-T
generic-hosted.ld
endif
endif
ifdef
PRINT
ifdef
PRINT
...
...
examples/crc32/ir_c/Makefile
View file @
e223c0b1
...
@@ -15,9 +15,9 @@ ifdef PHASE
...
@@ -15,9 +15,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
-I
.
COPTS
=
-static
${
OPT
}
${
TREEDUMP
}
-I
.
-T
generic-hosted.ld
else
else
COPTS
=
-static
${
OPT
}
-I
.
COPTS
=
-static
${
OPT
}
-I
.
-T
generic-hosted.ld
endif
endif
else
else
CC
=
$(GCC)
CC
=
$(GCC)
...
...
examples/sha/app_dir/Makefile
View file @
e223c0b1
...
@@ -32,9 +32,9 @@ ifdef PHASE
...
@@ -32,9 +32,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-Wall
${
OPT
}
${
TREEDUMP
}
COPTS
=
-Wall
${
OPT
}
${
TREEDUMP
}
-T
generic-hosted.ld
else
else
COPTS
=
-Wall
${
OPT
}
COPTS
=
-Wall
${
OPT
}
-T
generic-hosted.ld
endif
endif
ifdef
PRINT
ifdef
PRINT
...
...
examples/sha/ir_c/Makefile
View file @
e223c0b1
...
@@ -33,9 +33,9 @@ ifdef PHASE
...
@@ -33,9 +33,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-Wall
${
OPT
}
${
TREEDUMP
}
-I
.
COPTS
=
-Wall
${
OPT
}
${
TREEDUMP
}
-I
.
-T
generic-hosted.ld
else
else
COPTS
=
-Wall
${
OPT
}
-I
.
COPTS
=
-Wall
${
OPT
}
-I
.
-T
generic-hosted.ld
endif
endif
ifdef
PRINT
ifdef
PRINT
...
...
examples/sieve/app_dir/Makefile
View file @
e223c0b1
...
@@ -13,9 +13,9 @@ ifdef PHASE
...
@@ -13,9 +13,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
$(TREEDUMP)
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
$(TREEDUMP)
-T
generic-hosted.ld
else
else
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
-T
generic-hosted.ld
endif
endif
ifdef
PRINT
ifdef
PRINT
...
@@ -39,11 +39,11 @@ test:
...
@@ -39,11 +39,11 @@ test:
./erat_sieve_print.
$(OEXT)
./erat_sieve_print.
$(OEXT)
erat_sieve_no_print
::
erat_sieve_no_print.c
erat_sieve_no_print
::
erat_sieve_no_print.c
$(CC)
$(CFLAGS)
-o
$@
.
$(OEXT)
$^
$(CC)
$(C
OPTS)
$(C
FLAGS)
-o
$@
.
$(OEXT)
$^
$(OBJDUMP)
-D
$@
.
$(OEXT)
>
&
$@
.
$(DUMPEXT)
$(OBJDUMP)
-D
$@
.
$(OEXT)
>
&
$@
.
$(DUMPEXT)
erat_sieve_print
::
erat_sieve_print.c
erat_sieve_print
::
erat_sieve_print.c
$(CC)
$(CFLAGS)
-o
$@
.
$(OEXT)
$^
$(CC)
$(C
OPTS)
$(C
FLAGS)
-o
$@
.
$(OEXT)
$^
$(OBJDUMP)
-D
$@
.
$(OEXT)
>
&
$@
.
$(DUMPEXT)
$(OBJDUMP)
-D
$@
.
$(OEXT)
>
&
$@
.
$(DUMPEXT)
#adding - to rm so that errors are ignored
#adding - to rm so that errors are ignored
...
...
examples/sieve/ir_c/Makefile
View file @
e223c0b1
...
@@ -12,9 +12,9 @@ ifdef PHASE
...
@@ -12,9 +12,9 @@ ifdef PHASE
OEXT
=
elf
OEXT
=
elf
#ifeq (${IRDUMP},1)
#ifeq (${IRDUMP},1)
ifdef
IRDUMP
ifdef
IRDUMP
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
$(TREEDUMP)
-I
.
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
$(TREEDUMP)
-I
.
-T
generic-hosted.ld
else
else
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
-I
.
COPTS
=
-pedantic
-Wcomment
-fno-asm
-fsigned-char
-W
-Wparentheses
-Wreturn-type
-Wswitch
-Wunused
-Wsign-compare
-Wimplicit
-Wreturn-type
-Wshadow
-Wpointer-arith
-Wwrite-strings
-Wsign-compare
-Wstrict-prototypes
-Wmissing-prototypes
-Wmissing-declarations
-msoft-float
$(OPT)
-I
.
-T
generic-hosted.ld
endif
endif
ifdef
PRINT
ifdef
PRINT
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment