RVM
  1. RVM
  2. RVM-243

Consider optimization of Math functions using hand crafted IR and native code

    Details

    • Type: Wish Wish
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1000
    • Component/s: Compiler: Optimizing
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The Math methods sin, cos, tan, asin, acos, atan, atan2, exp, log, sqrt, pow, IEEEremainder, ceil, floor, rint, cbrt, cosh, expml, hypot, log10, log1p, sinh and tanh are implemented by syscalls (calls into C code). They are also marked as @Pure so that we can fold them when they have constant arguments. When this fails a number of these could be implemented using x86 FPU opcodes. This supersedes the old SF RFE 1519980.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ian Rogers
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: