diff options
Diffstat (limited to 'inc/id.h')
| -rw-r--r-- | inc/id.h | 14 | 
1 files changed, 10 insertions, 4 deletions
| @@ -50,6 +50,12 @@ class ID : public Stage  	 */  	void write_guard(signed int &r); +	Response read_vec_guard(signed int r, std::array<signed int, V_R_LIMIT> &v); + +	void write_vec_guard(signed int r, std::array<signed int, V_R_LIMIT> &v); + +	Response set_vlen(); +    private:  	/**  	 * Helper for `get_instr_fields` @@ -76,10 +82,10 @@ class ID : public Stage  	 * @param the resulting third field, which varies per type.  	 * @param the resulting mnemonic.  	 */ -	void get_instr_fields(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m); -	void decode_R_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m); -	void decode_I_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m); -	void decode_J_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m); +	void get_instr_fields(signed int &s1); +	void decode_R_type(signed int &s1); +	void decode_I_type(signed int &s1); +	void decode_J_type(signed int &s1);  	/**  	 * Helper for `get_instr_fields`.  	 * Given a raw instruction, returns the mnemonic and type. | 
