Home | History | Annotate | Download | only in 102-verify-nonwide-math
      1 #!/bin/bash
      2 #
      3 # Copyright (C) 2017 The Android Open Source Project
      4 #
      5 # Licensed under the Apache License, Version 2.0 (the "License");
      6 # you may not use this file except in compliance with the License.
      7 # You may obtain a copy of the License at
      8 #
      9 #     http://www.apache.org/licenses/LICENSE-2.0
     10 #
     11 # Unless required by applicable law or agreed to in writing, software
     12 # distributed under the License is distributed on an "AS IS" BASIS,
     13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14 # See the License for the specific language governing permissions and
     15 # limitations under the License.
     16 
     17 function oneop()
     18 {
     19     jasmin -d . op_"$1".j
     20 }
     21 
     22 oneop f2d
     23 oneop f2i
     24 oneop f2l
     25 oneop fadd
     26 oneop fdiv
     27 oneop fmul
     28 oneop fneg
     29 oneop frem
     30 oneop fsub
     31 oneop i2d
     32 oneop i2f
     33 oneop i2l
     34 oneop iadd
     35 oneop iand
     36 oneop idiv
     37 oneop imul
     38 oneop ineg
     39 oneop ior
     40 oneop irem
     41 oneop ishl
     42 oneop ishr
     43 oneop isub
     44 oneop iushr
     45 oneop ixor
     46