Integrated: 8292564: x86: Remove redundant casts in Assembler usages

Vladimir Ivanov vlivanov at openjdk.org
Fri Aug 19 19:18:58 UTC 2022


On Wed, 17 Aug 2022 19:29:18 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> Clean up Assembler API and remove redundant at use sites.
>  
> They are not needed anymore because implicit casts between Register and integrals are forbidden now.
> 
> Some of the casts are turned into `static_cast`s to assert that constants are small enough to fit into 32-bit immediate.
> 
> Testing: hs-tier1 - hs-tier4

This pull request has now been integrated.

Changeset: 6a8a5313
Author:    Vladimir Ivanov <vlivanov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/6a8a531359295849113aa14fd6cba21c886decf3
Stats:     167 lines in 23 files changed: 0 ins; 35 del; 132 mod

8292564: x86: Remove redundant casts in Assembler usages

Reviewed-by: iveresov, kvn, shade

-------------

PR: https://git.openjdk.org/jdk/pull/9909


More information about the hotspot-dev mailing list