Skip to content

Commit 688a1e9

Browse files
committed
restore changes
1 parent 7f09d85 commit 688a1e9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

llvm/test/CodeGen/X86/usermsr-intrinsics.ll

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
22
; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown --show-mc-encoding -mattr=+usermsr | FileCheck %s --check-prefixes=X64
3-
; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown --show-mc-encoding -mattr=+usermsr,+egpr | FileCheck %s --check-prefixes=EGPR
43

54
define i64 @test_int_x86_urdmsr(i64 %A) nounwind {
65
; X64-LABEL: test_int_x86_urdmsr:
76
; X64: # %bb.0:
87
; X64-NEXT: urdmsr %rdi, %rax # encoding: [0xf2,0x0f,0x38,0xf8,0xc7]
98
; X64-NEXT: retq # encoding: [0xc3]
10-
;
119
; EGPR-LABEL: test_int_x86_urdmsr:
1210
; EGPR: # %bb.0:
1311
; EGPR-NEXT: urdmsr %rdi, %rax # EVEX TO LEGACY Compression encoding: [0xf2,0x0f,0x38,0xf8,0xc7]
@@ -21,7 +19,6 @@ define i64 @test_int_x86_urdmsr_const() nounwind {
2119
; X64: # %bb.0:
2220
; X64-NEXT: urdmsr $123, %rax # encoding: [0xc4,0xe7,0x7b,0xf8,0xc0,0x7b,0x00,0x00,0x00]
2321
; X64-NEXT: retq # encoding: [0xc3]
24-
;
2522
; EGPR-LABEL: test_int_x86_urdmsr_const:
2623
; EGPR: # %bb.0:
2724
; EGPR-NEXT: urdmsr $123, %rax # EVEX TO VEX Compression encoding: [0xc4,0xe7,0x7b,0xf8,0xc0,0x7b,0x00,0x00,0x00]
@@ -37,7 +34,6 @@ define i64 @test_int_x86_urdmsr_const_i64() nounwind {
3734
; X64-NEXT: # imm = 0x1FFFFFFFF
3835
; X64-NEXT: urdmsr %rax, %rax # encoding: [0xf2,0x0f,0x38,0xf8,0xc0]
3936
; X64-NEXT: retq # encoding: [0xc3]
40-
;
4137
; EGPR-LABEL: test_int_x86_urdmsr_const_i64:
4238
; EGPR: # %bb.0:
4339
; EGPR-NEXT: movabsq $8589934591, %rax # encoding: [0x48,0xb8,0xff,0xff,0xff,0xff,0x01,0x00,0x00,0x00]
@@ -55,7 +51,6 @@ define void @test_int_x86_uwrmsr(i64 %A, i64 %B) nounwind {
5551
; X64: # %bb.0:
5652
; X64-NEXT: uwrmsr %rsi, %rdi # encoding: [0xf3,0x0f,0x38,0xf8,0xfe]
5753
; X64-NEXT: retq # encoding: [0xc3]
58-
;
5954
; EGPR-LABEL: test_int_x86_uwrmsr:
6055
; EGPR: # %bb.0:
6156
; EGPR-NEXT: uwrmsr %rsi, %rdi # EVEX TO LEGACY Compression encoding: [0xf3,0x0f,0x38,0xf8,0xfe]
@@ -69,7 +64,6 @@ define void @test_int_x86_uwrmsr_const(i64 %A) nounwind {
6964
; X64: # %bb.0:
7065
; X64-NEXT: uwrmsr %rdi, $123 # encoding: [0xc4,0xe7,0x7a,0xf8,0xc7,0x7b,0x00,0x00,0x00]
7166
; X64-NEXT: retq # encoding: [0xc3]
72-
;
7367
; EGPR-LABEL: test_int_x86_uwrmsr_const:
7468
; EGPR: # %bb.0:
7569
; EGPR-NEXT: uwrmsr %rdi, $123 # EVEX TO VEX Compression encoding: [0xc4,0xe7,0x7a,0xf8,0xc7,0x7b,0x00,0x00,0x00]
@@ -85,7 +79,6 @@ define void @test_int_x86_uwrmsr_const_i64(i64 %A) nounwind {
8579
; X64-NEXT: # imm = 0x1FFFFFFFF
8680
; X64-NEXT: uwrmsr %rdi, %rax # encoding: [0xf3,0x0f,0x38,0xf8,0xc7]
8781
; X64-NEXT: retq # encoding: [0xc3]
88-
;
8982
; EGPR-LABEL: test_int_x86_uwrmsr_const_i64:
9083
; EGPR: # %bb.0:
9184
; EGPR-NEXT: movabsq $8589934591, %rax # encoding: [0x48,0xb8,0xff,0xff,0xff,0xff,0x01,0x00,0x00,0x00]

0 commit comments

Comments
 (0)