1# Copyright (C) 2018 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15.class public LTest;
16.super Ljava/lang/Object;
17
18.method public static shlZero(J)J
19    .registers 6
20    const v2, 0x0
21    shl-long v0, p0, v2
22    return-wide v0
23.end method
24
25.method public static shrZero(J)J
26    .registers 6
27    const v2, 0x0
28    shr-long v0, p0, v2
29    return-wide v0
30.end method
31
32.method public static ushrZero(J)J
33    .registers 6
34    const v2, 0x0
35    ushr-long v0, p0, v2
36    return-wide v0
37.end method
38
39.method public static shlOne(J)J
40    .registers 6
41    const v2, 0x1
42    shl-long v0, p0, v2
43    return-wide v0
44.end method
45
46.method public static shrOne(J)J
47    .registers 6
48    const v2, 0x1
49    shr-long v0, p0, v2
50    return-wide v0
51.end method
52
53.method public static ushrOne(J)J
54    .registers 6
55    const v2, 0x1
56    ushr-long v0, p0, v2
57    return-wide v0
58.end method
59