Benjamin Kramer
e915ff30cd
X86: Lower a select directly to a setcc_carry if possible.
int test(unsigned long a, unsigned long b) { return -(a < b); }
compiles to
_test: ## @test
cmpq %rsi, %rdi ## encoding: [0x48,0x39,0xf7]
sbbl %eax, %eax ## encoding: [0x19,0xc0]
ret ## encoding: [0xc3]
instead of
_test: ## @test
xorl %ecx, %ecx ## encoding: [0x31,0xc9]
cmpq %rsi, %rdi ## encoding: [0x48,0x39,0xf7]
movl $-1, %eax ## encoding: [0xb8,0xff,0xff,0xff,0xff]
cmovael %ecx, %eax ## encoding: [0x0f,0x43,0xc1]
ret ## encoding: [0xc3]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122451 91177308-0d34-0410-b5e6-96231b3b80d8
2010-12-22 23:09:28 +00:00
..
2010-10-08 03:57:25 +00:00
2010-10-01 00:16:17 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 20:51:52 +00:00
2010-09-30 23:57:10 +00:00
2010-09-19 21:58:55 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-10-19 18:58:51 +00:00
2010-12-19 20:12:58 +00:00
2010-10-20 22:03:58 +00:00
2010-09-03 03:24:08 +00:00
2010-09-03 03:24:08 +00:00
2010-11-27 20:43:02 +00:00
2010-10-01 04:17:55 +00:00
2010-12-19 20:12:58 +00:00
2010-09-30 23:57:10 +00:00
2010-11-27 20:43:02 +00:00
2010-12-06 22:39:26 +00:00
2010-09-30 23:57:10 +00:00
2010-09-22 05:49:14 +00:00
2010-09-21 20:50:32 +00:00
2010-09-16 18:30:55 +00:00
2010-12-02 23:29:58 +00:00
2010-09-20 20:39:59 +00:00
2010-09-30 19:44:31 +00:00
2010-10-11 21:08:42 +00:00
2010-11-02 17:01:30 +00:00
2010-11-09 16:22:27 +00:00
2010-11-18 20:05:18 +00:00
2010-12-02 21:32:30 +00:00
2010-09-22 05:49:14 +00:00
2010-12-19 22:08:31 +00:00
2010-12-20 01:37:09 +00:00
2010-12-06 15:35:15 +00:00
2010-10-10 23:11:06 +00:00
2010-10-13 17:14:25 +00:00
2010-11-30 09:23:54 +00:00
2010-11-29 22:34:55 +00:00
2010-12-10 00:26:57 +00:00
2010-10-28 00:35:54 +00:00
2010-12-19 22:08:31 +00:00
2010-12-19 20:12:58 +00:00
2010-09-22 22:58:22 +00:00
2010-11-13 19:54:30 +00:00
2010-10-12 23:47:58 +00:00
2010-10-08 05:12:30 +00:00
2010-12-14 21:34:53 +00:00
2010-09-20 22:52:00 +00:00
2010-11-09 01:15:07 +00:00
2010-12-21 21:41:44 +00:00
2010-12-19 04:58:57 +00:00
2010-12-19 20:12:58 +00:00
2010-12-21 21:55:50 +00:00
2010-09-22 05:49:14 +00:00
2010-09-22 05:49:14 +00:00
2010-09-03 03:24:08 +00:00
2010-09-17 20:24:24 +00:00
2010-10-01 04:17:55 +00:00
2010-09-05 02:18:34 +00:00
2010-10-23 09:06:59 +00:00
2010-11-06 21:37:06 +00:00
2010-09-22 05:49:14 +00:00
2010-11-18 00:50:20 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-09-30 20:51:52 +00:00
2010-12-15 22:16:21 +00:00
2010-10-07 20:56:25 +00:00
2010-11-18 01:35:23 +00:00
2010-09-22 05:49:14 +00:00
2010-09-22 05:49:14 +00:00
2010-11-18 01:35:23 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-10-05 21:58:12 +00:00
2010-10-01 04:17:55 +00:00
2010-10-01 05:08:18 +00:00
2010-10-01 21:39:35 +00:00
2010-09-30 23:57:10 +00:00
2010-09-30 23:57:10 +00:00
2010-10-01 04:17:55 +00:00
2010-10-01 04:17:55 +00:00
2010-09-22 05:49:14 +00:00
2010-11-02 23:01:44 +00:00
2010-11-02 23:01:44 +00:00
2010-11-03 18:08:41 +00:00
2010-12-22 08:02:57 +00:00
2010-09-30 20:51:52 +00:00
2010-09-30 20:51:52 +00:00
2010-09-22 05:49:14 +00:00
2010-12-04 20:32:23 +00:00
2010-09-30 20:51:52 +00:00
2010-09-30 20:51:52 +00:00
2010-09-17 22:28:18 +00:00
2010-11-19 21:49:38 +00:00
2010-12-19 20:12:58 +00:00
2010-12-22 23:09:28 +00:00
2010-10-01 05:36:09 +00:00
2010-09-22 05:49:14 +00:00
2010-12-02 20:17:34 +00:00
2010-09-30 22:02:06 +00:00
2010-09-20 22:52:00 +00:00
2010-10-07 20:50:20 +00:00
2010-12-19 22:08:31 +00:00
2010-10-25 22:17:05 +00:00
2010-09-19 21:58:55 +00:00
2010-10-01 05:36:09 +00:00
2010-11-22 09:45:38 +00:00
2010-09-30 20:51:52 +00:00
2010-09-22 05:49:14 +00:00
2010-09-23 06:55:34 +00:00
2010-09-22 04:39:11 +00:00
2010-11-27 20:43:02 +00:00
2010-12-09 06:25:53 +00:00
2010-12-09 00:27:58 +00:00
2010-10-05 17:24:05 +00:00
2010-12-05 07:30:36 +00:00
2010-09-22 05:49:14 +00:00
2010-12-02 23:29:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-09-30 23:57:10 +00:00
2010-10-01 21:39:35 +00:00
2010-09-19 21:58:55 +00:00
2010-12-20 00:54:26 +00:00
2010-12-19 20:12:58 +00:00
2010-09-09 18:48:34 +00:00
2010-09-30 23:57:10 +00:00
2010-12-18 14:23:57 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-12-19 20:12:58 +00:00
2010-10-08 19:24:18 +00:00
2010-10-03 22:52:07 +00:00
2010-10-03 22:02:38 +00:00
2010-12-20 20:10:50 +00:00
2010-12-21 21:55:50 +00:00