Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c0ea850b authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Disable auto-vectorization.

Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed, this
is just causing too much confusion and wasted time.

Removing V from the architecture string has the same effect, but
requires some code changes (to be able to compile code that's
_explicitly_ using V), and makes it less obvious that this is just a
temporary workaround for a qemu bug.

Bug: http://b/320416684
Test: objdump
Change-Id: Iec7d63ab227b31f82f530dabbdc4f3aa54277f04
parent 6794cc20
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -29,6 +29,8 @@ var (
		// Equivalent to "-munaligned-access", but our clang doesn't have that yet.
		"-Xclang -target-feature -Xclang +unaligned-scalar-mem",
		"-Xclang -target-feature -Xclang +unaligned-vector-mem",
		// Until https://gitlab.com/qemu-project/qemu/-/issues/1976 is fixed...
		"-fno-vectorize",
	}

	riscv64ArchVariantCflags = map[string][]string{}