8385425: AArch64: Comment re set_and_get_current_sve_vector_length() is misleading

Reviewed-by: aph, macarte
This commit is contained in:
George Adams 2026-05-26 17:18:51 +00:00 committed by Mat Carter
parent c400543249
commit 0eede1c2eb

View File

@ -69,9 +69,9 @@ protected:
// Read additional info using OS-specific interfaces
static void get_os_cpu_info();
// Sets the SVE length and returns a new actual value or negative on error.
// If the len is larger than the system largest supported SVE vector length,
// the function sets the largest supported value.
// Set the SVE vector length to len. If the vector length cannot be
// changed to len, set the length to the largest possible value.
// Return the length that will be used, or -ve if an error occurred.
static int set_and_get_current_sve_vector_length(int len);
static int get_current_sve_vector_length();