Update src/test/assembly/x86_64-floating-point-clamp.rs

Co-authored-by: scottmcm <scottmcm@users.noreply.github.com>
This commit is contained in:
Alex 2022-08-16 20:39:22 -05:00 committed by GitHub
parent 0ff8f0b578
commit 302689fa7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ pub fn clamp_demo(a: f32, x: f32, y: f32) -> f32 {
// CHECK-LABEL: clamp12_demo:
#[no_mangle]
pub fn clamp12_demo(a: f32) -> f32 {
// CHECK-NEXT: movss xmm1
// CHECK: movss xmm1
// CHECK-NEXT: maxss xmm1, xmm0
// CHECK-NEXT: movss xmm0
// CHECK-NEXT: minss xmm0, xmm1