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-08-05 15:45:33 +00:00
2010-10-08 03:57:25 +00:00
2010-07-15 22:07:12 +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-08-05 17:04:15 +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
2009-09-08 23:54:48 +00:00
2010-12-19 20:12:58 +00:00
2010-08-05 17:04:15 +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-08-18 20:32:46 +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-08-15 20:42:56 +00:00
2010-08-05 20:25:37 +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-08-05 20:25:37 +00:00
2010-08-05 20:25:37 +00:00
2010-07-14 23:12:52 +00:00
2010-07-13 18:14:47 +00:00
2010-07-06 23:06:58 +00:00
2010-07-16 04:45:35 +00:00
2010-07-13 20:17:05 +00:00
2010-07-15 18:45:27 +00:00
2010-07-30 06:44:31 +00:00
2010-08-04 22:40:58 +00:00
2010-08-04 23:36:02 +00:00
2010-08-12 00:17:38 +00:00
2010-09-01 22:15:35 +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-08-12 02:06:36 +00:00
2010-10-28 00:35:54 +00:00
2010-12-19 22:08:31 +00:00
2010-07-22 02:48:34 +00:00
2010-07-22 02:48:34 +00:00
2010-12-19 20:12:58 +00:00
2010-09-22 22:58:22 +00:00
2010-07-12 20:46:04 +00:00
2010-11-13 19:54:30 +00:00
2010-10-12 23:47:58 +00:00
2010-08-04 15:31:35 +00:00
2010-08-05 17:04:15 +00:00
2010-08-05 17:04:15 +00:00
2010-08-05 17:04:15 +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-08-18 20:32:46 +00:00
2010-07-07 20:33:27 +00:00
2010-12-19 04:58:57 +00:00
2010-08-18 20:32:46 +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-08-30 10:48:29 +00:00
2010-09-22 05:49:14 +00:00
2010-09-03 03:24:08 +00:00
2010-07-16 22:51:10 +00:00
2010-07-15 22:07:12 +00:00
2010-07-20 15:52:32 +00:00
2010-09-17 20:24:24 +00:00
2010-10-01 04:17:55 +00:00
2010-08-21 02:32:36 +00:00
2010-07-16 02:01:19 +00:00
2010-09-05 02:18:34 +00:00
2010-07-16 02:01:19 +00:00
2010-07-10 22:42:12 +00:00
2010-07-10 09:00:22 +00:00
2010-10-23 09:06:59 +00:00
2010-08-05 23:57:43 +00:00
2010-11-06 21:37:06 +00:00
2010-09-22 05:49:14 +00:00
2010-08-30 18:12:35 +00:00
2010-07-10 16:30:25 +00:00
2010-07-10 16:30:25 +00:00
2010-07-10 16:30:25 +00:00
2010-07-10 16:30:25 +00:00
2010-11-18 00:50:20 +00:00
2010-08-05 17:04:15 +00:00
2010-12-19 20:12:58 +00:00
2010-08-23 19:39:25 +00:00
2010-07-08 22:38:02 +00:00
2010-12-19 20:12:58 +00:00
2010-08-18 20:32:46 +00:00
2010-08-27 01:30:14 +00:00
2009-11-11 07:11:02 +00:00
2010-09-02 03:45:58 +00:00
2010-07-15 15:14:45 +00:00
2010-08-17 22:50:37 +00:00
2010-07-20 17:06:20 +00:00
2010-09-30 20:51:52 +00:00
2010-08-24 15:55:12 +00:00
2010-08-29 14:49:42 +00:00
2010-12-15 22:16:21 +00:00
2010-08-19 18:33:29 +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-08-17 22:17:24 +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-07-23 21:08:12 +00:00
2010-09-22 05:49:14 +00:00
2010-07-14 06:44:01 +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-01-23 06:02:43 +00:00
2010-08-28 17:28:30 +00:00
2010-08-29 03:19:04 +00:00
2010-10-07 20:50:20 +00:00
2010-12-19 22:08:31 +00:00
2010-07-15 22:07:12 +00:00
2010-07-06 05:18:56 +00:00
2010-10-25 22:17:05 +00:00
2010-08-30 10:48:29 +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-08-28 00:51:03 +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-09-02 03:45:51 +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-08-25 22:49:25 +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-08-18 20:32:46 +00:00
2010-10-01 21:39:35 +00:00
2010-08-28 17:59:08 +00:00
2010-09-19 21:58:55 +00:00
2010-07-28 00:21:48 +00:00
2010-08-18 20:32:46 +00:00
2010-08-18 20:32:46 +00:00
2010-08-25 01:47:16 +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
2010-07-08 07:36:46 +00:00
2010-08-18 20:32:46 +00:00