Skip to content

Commit

Permalink
8269029: compiler/codegen/TestCharVect2.java fails for client VMs
Browse files Browse the repository at this point in the history
Backport-of: cbec37d45d77533081c27b3fc649098dfcca0425
  • Loading branch information
GoeLin committed Sep 16, 2022
1 parent 2434530 commit eb1c5cb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/hotspot/jtreg/compiler/codegen/TestCharVect2.java
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2012, 2021, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -27,6 +27,14 @@
* @summary incorrect results of char vectors right shift operation
*
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m compiler.codegen.TestCharVect2
*/

/**
* @test
* @bug 8001183
* @summary incorrect results of char vectors right shift operation
* @requires vm.compiler2.enabled | vm.graal.enabled
*
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m -XX:MaxVectorSize=8 compiler.codegen.TestCharVect2
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m -XX:MaxVectorSize=16 compiler.codegen.TestCharVect2
* @run main/othervm -Xbatch -XX:CompileCommand=exclude,*::test() -Xmx128m -XX:MaxVectorSize=32 compiler.codegen.TestCharVect2
Expand Down

0 comments on commit eb1c5cb

Please sign in to comment.