On 13.06.19 22:04, Ralf Ramsauer wrote:
Depending on availability, this inmates executes some SSE/AVX
instructions, compares the result against an expected result and exits.
Signed-off-by: Ralf Ramsauer <[email protected]>
---
inmates/tests/x86/Makefile | 7 ++-
inmates/tests/x86/sse-demo-32.c | 1 +
inmates/tests/x86/sse-demo.c | 89 +++++++++++++++++++++++++++++++++
3 files changed, 96 insertions(+), 1 deletion(-)
create mode 120000 inmates/tests/x86/sse-demo-32.c
create mode 100644 inmates/tests/x86/sse-demo.c
diff --git a/inmates/tests/x86/Makefile b/inmates/tests/x86/Makefile
index 1f30852f..030e20e6 100644
--- a/inmates/tests/x86/Makefile
+++ b/inmates/tests/x86/Makefile
@@ -12,11 +12,16 @@
include $(INMATES_LIB)/Makefile.lib
-INMATES := mmio-access.bin mmio-access-32.bin
+INMATES := mmio-access.bin mmio-access-32.bin sse-demo.bin sse-demo-32.bin
mmio-access-y := mmio-access.o
$(eval $(call DECLARE_32_BIT,mmio-access-32))
mmio-access-32-y := mmio-access-32.o
+sse-demo-y := sse-demo.o
+
+$(eval $(call DECLARE_32_BIT,sse-demo-32))
+sse-demo-32-y := sse-demo-32.o
+
$(eval $(call DECLARE_TARGETS,$(INMATES)))
diff --git a/inmates/tests/x86/sse-demo-32.c b/inmates/tests/x86/sse-demo-32.c
new file mode 120000
index 00000000..1136c98f
--- /dev/null
+++ b/inmates/tests/x86/sse-demo-32.c
@@ -0,0 +1 @@
+sse-demo.c
\ No newline at end of file
Replaced this link with a two-liner in the makefile.
Applied the whole series to next.
Thanks,
Jan
--
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/411de940-d9d3-e716-481a-6c892701ce27%40siemens.com.
For more options, visit https://groups.google.com/d/optout.