Code Monkey home page Code Monkey logo

Comments (4)

damionfan avatar damionfan commented on July 25, 2024 2

`
4031 case U32_TYPE:

4032 t.u64 = (unsigned long long)a.u32 * (unsigned long long)b.u32;
4033 if (pI->is_wide())
4034 d.u64 = t.u64 + c.u64 + carry_bit.pred;
4035 else if (pI->is_hi()) {
4036 d.u32 = (t.u64 >> 32) + (c.u32 + carry_bit.pred);
4037 carry = ((long long int)((long long int)(t.u32 >> 32) + c.u32 +
4038 carry_bit.pred) &
4039 0x100000000) >>
4040 32;
4041 } else if (pI->is_lo()) {
4042 d.u32 = t.u32 + c.u32 + carry_bit.pred;
4043 carry =
4044 ((long long int)((long long int)t.u32 + c.u32 + carry_bit.pred) &
4045 0x100000000) >>
4046 32;
4047 } else
4048 assert(0);
4049 break;`

from gpgpu-sim_distribution.

damionfan avatar damionfan commented on July 25, 2024

I also met this error! If slove it, please me some advice!

from gpgpu-sim_distribution.

damionfan avatar damionfan commented on July 25, 2024

3953 ptx_reg_t carry_bit;
3954 carry_bit.u64 = 0;
3955 if (use_carry) {
3956 // const operand_info &carry = pI->operand_lookup(3);
3957 // carry_bit = thread->get_operand_value(carry, dst, PRED_TYPE, thread, 0);
3958 // carry_bit.pred &= 0x4;
3959 // carry_bit.pred >>= 2;
3960 carry_bit.pred = thread->get_carry();

from gpgpu-sim_distribution.

damionfan avatar damionfan commented on July 25, 2024

solved

from gpgpu-sim_distribution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.