[llvmlinux] 0001-Revert-x86-Align-jump-targets-to-1-byte-boundaries.patch

Sedat Dilek sedat.dilek at gmail.com
Sat Sep 5 07:37:39 UTC 2015


Hi Simon,

you combined two patches from upstream as one single revert in [1].

What you have is [2]...

commit be6cb02779ca74d83481f017db21578cfe92891c
"x86: Align jump targets to 1-byte boundaries"

...combined with [3]...

commit/?id=52648e83c9a6b9f7fc3dd272d4d10175e93aa62a
"x86: Pack loops tightly as well"

So, can you do a proper single revert or two revert-patches?

Personally, I would keep the ifneq-line like in workaround_align_jump.patch.

   9 +ifneq ($(COMPILER),clang)
  10          # Align jump targets to 1 byte, not the default 16 bytes:
  11          KBUILD_CFLAGS += -falign-jumps=1
  12 -
  13          # Pack loops tightly as well:
  14          KBUILD_CFLAGS += -falign-loops=1
  15 +endif

Have you a working aka bootable x86_64 setup Linux v4.2 or v4.2+?

Thanks in advance.

Regards,
- Sedat -


P.S.: BTW, can you fix your Git From-line (UTF-x) in your generated
patches, Thanks.

>From 20c53270ff4e79da0f43aa534fc2f7e3bdcdf18c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan-Simon=20M=C3=B6ller?= <dl9pf at gmx.de>
Date: Tue, 11 Aug 2015 01:57:45 +0200
Subject: [PATCH] Revert "x86: Align jump targets to 1-byte boundaries"

[1] http://git.linuxfoundation.org/?p=llvmlinux.git;a=blob_plain;f=arch/x86_64/patches/0001-Revert-x86-Align-jump-targets-to-1-byte-boundaries.patch;hb=HEAD
[2] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=be6cb02779ca74d83481f017db21578cfe92891c
[3] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=52648e83c9a6b9f7fc3dd272d4d10175e93aa62a


More information about the LLVMLinux mailing list