tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

CodeGenerator-mips64.h (1280B)


      1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
      2 * vim: set ts=8 sts=2 et sw=2 tw=80:
      3 * This Source Code Form is subject to the terms of the Mozilla Public
      4 * License, v. 2.0. If a copy of the MPL was not distributed with this
      5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      6 
      7 #ifndef jit_mips64_CodeGenerator_mips64_h
      8 #define jit_mips64_CodeGenerator_mips64_h
      9 
     10 #include "jit/mips-shared/CodeGenerator-mips-shared.h"
     11 
     12 namespace js {
     13 namespace jit {
     14 
     15 class CodeGeneratorMIPS64 : public CodeGeneratorMIPSShared {
     16 protected:
     17  CodeGeneratorMIPS64(MIRGenerator* gen, LIRGraph* graph, MacroAssembler* masm,
     18                      const wasm::CodeMetadata* wasmCodeMeta)
     19      : CodeGeneratorMIPSShared(gen, graph, masm, wasmCodeMeta) {}
     20 
     21  template <typename T>
     22  void emitWasmLoadI64(T* ins);
     23  template <typename T>
     24  void emitWasmStoreI64(T* ins);
     25 
     26  void emitBigIntPtrDiv(LBigIntPtrDiv* ins, Register dividend, Register divisor,
     27                        Register output);
     28  void emitBigIntPtrMod(LBigIntPtrMod* ins, Register dividend, Register divisor,
     29                        Register output);
     30 };
     31 
     32 typedef CodeGeneratorMIPS64 CodeGeneratorSpecific;
     33 
     34 }  // namespace jit
     35 }  // namespace js
     36 
     37 #endif /* jit_mips64_CodeGenerator_mips64_h */